Skip to contentSkip to conversation

s390/io: add ioport_map stubs

PATCH New Frank Blaschka 1 participant 1 message Nov 4, 2014 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390/io: add ioport_map stubs

From: Frank Blaschka <[email protected]>

add ioport_map stubs to make vfio build on s390.

---
 arch/s390/include/asm/io.h | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/s390/include/asm/io.h +9 -0
index cd6b9ee..ba516f8 100644
@@ -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
Signature · 1 line
1.8.5.5