[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1415102953-49643-1-git-send-email-blaschka@linux.vnet.ibm.com>
Date: Tue, 4 Nov 2014 13:09:13 +0100
From: Frank Blaschka <blaschka@...ux.vnet.ibm.com>
To: schwidefsky@...ibm.com
Cc: alex.williamson@...hat.com, linux-s390@...r.kernel.org,
linux-kernel@...r.kernel.org,
Frank Blaschka <frank.blaschka@...ibm.com>
Subject: [PATCH linux-next] s390/io: add ioport_map stubs
From: Frank Blaschka <frank.blaschka@...ibm.com>
add ioport_map stubs to make vfio build on s390.
Signed-off-by: Frank Blaschka <frank.blaschka@...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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists