summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/io.h
diff options
context:
space:
mode:
authorFrank Blaschka <frank.blaschka@de.ibm.com>2014-11-06 13:17:06 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-11-18 18:23:01 +0100
commit99e97b7106d492a3cac4f7963f4a89935d2fbca4 (patch)
treeb36db5cca5f3d0b67401dfe277bcbfd8bada36b1 /arch/s390/include/asm/io.h
parenta6b42afa3fc452339e157ad5245320804cf1206f (diff)
downloadtalos-op-linux-99e97b7106d492a3cac4f7963f4a89935d2fbca4.tar.gz
talos-op-linux-99e97b7106d492a3cac4f7963f4a89935d2fbca4.zip
s390/io: add ioport_map stubs
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>
Diffstat (limited to 'arch/s390/include/asm/io.h')
-rw-r--r--arch/s390/include/asm/io.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/s390/include/asm/io.h b/arch/s390/include/asm/io.h
index cd6b9ee7b69c..ba516f8f918a 100644
--- 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
OpenPOWER on IntegriCloud