* [PATCH linux-next] s390/io: add ioport_map stubs
@ 2014-11-04 12:09 Frank Blaschka
0 siblings, 0 replies; only message in thread
From: Frank Blaschka @ 2014-11-04 12:09 UTC (permalink / raw)
To: schwidefsky; +Cc: alex.williamson, linux-s390, linux-kernel, Frank Blaschka
From: Frank Blaschka <frank.blaschka@de.ibm.com>
add ioport_map stubs to make vfio build on s390.
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
---
arch/s390/include/asm/io.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/s390/include/asm/io.h b/arch/s390/include/asm/io.h
index cd6b9ee..ba516f8 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
--
1.8.5.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-04 12:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-04 12:09 [PATCH linux-next] s390/io: add ioport_map stubs Frank Blaschka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox