projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80020fb
)
s390/pci: define read*_relaxed functions
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Mon, 7 Jan 2013 13:03:34 +0000
(14:03 +0100)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Tue, 8 Jan 2013 09:57:11 +0000
(10:57 +0100)
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>
arch/s390/include/asm/io.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/io.h
b/arch/s390/include/asm/io.h
index 16c3eb164f4fe0cdb44b91eb3be271743b8beeb8..27cb32185ce1d950e5a6097198a1864a69e6594b 100644
(file)
--- 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>