projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b42af
)
s390/io: add ioport_map stubs
author
Frank Blaschka
<frank.blaschka@de.ibm.com>
Thu, 6 Nov 2014 12:17:06 +0000
(13:17 +0100)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Tue, 18 Nov 2014 17:23:01 +0000
(18:23 +0100)
add ioport_map stubs to make vfio build on s390.
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/io.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/io.h
b/arch/s390/include/asm/io.h
index cd6b9ee7b69c928118e9bce7c8691651a79a9b52..ba516f8f918ab48349133a7e93e79aa9bdc20a03 100644
(file)
--- a/
arch/s390/include/asm/io.h
+++ b/
arch/s390/include/asm/io.h
@@
-38,6
+38,15
@@
static inline void iounmap(volatile void __iomem *addr)
{
}
+static inline void __iomem *ioport_map(unsigned long port, unsigned int nr)
+{
+ return NULL;
+}
+
+static inline void ioport_unmap(void __iomem *p)
+{
+}
+
/*
* s390 needs a private implementation of pci_iomap since ioremap with its
* offset parameter isn't sufficient. That's because BAR spaces are not