summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2013-01-07 14:03:34 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-01-08 10:57:11 +0100
commit478740a14826c50595649b3dafed71576796dd95 (patch)
tree8fd8b31be20574538788f4dd2ffc8b52571f2efe /arch
parent80020fbd65c17d3d9e7d80cfd3fa4c57ae7ff765 (diff)
downloadlinux-3.10-478740a14826c50595649b3dafed71576796dd95.tar.gz
linux-3.10-478740a14826c50595649b3dafed71576796dd95.tar.bz2
linux-3.10-478740a14826c50595649b3dafed71576796dd95.zip
s390/pci: define read*_relaxed functions
Just map the read*_relaxed() functions to their corresponding read*() functions. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/include/asm/io.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/include/asm/io.h b/arch/s390/include/asm/io.h
index 16c3eb164f4..27cb32185ce 100644
--- a/arch/s390/include/asm/io.h
+++ b/arch/s390/include/asm/io.h
@@ -85,6 +85,11 @@ static inline void iounmap(volatile void __iomem *addr)
#define __raw_writel zpci_write_u32
#define __raw_writeq zpci_write_u64
+#define readb_relaxed readb
+#define readw_relaxed readw
+#define readl_relaxed readl
+#define readq_relaxed readq
+
#endif /* CONFIG_PCI */
#include <asm-generic/io.h>