OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d499524
)
parisc: define x->x mmio accessors
author
Kyle McMartin
<kyle@shortfin.cabal.ca>
Tue, 17 Feb 2009 17:42:52 +0000
(12:42 -0500)
committer
Kyle McMartin
<kyle@treachery.i.cabal.ca>
Fri, 13 Mar 2009 05:20:48 +0000
(
01:20
-0400)
Bloody inconsiderate driver writers...
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/parisc/include/asm/io.h
patch
|
blob
|
history
diff --git
a/arch/parisc/include/asm/io.h
b/arch/parisc/include/asm/io.h
index
1fa905e
..
1f6d2ae
100644
(file)
--- a/
arch/parisc/include/asm/io.h
+++ b/
arch/parisc/include/asm/io.h
@@
-208,6
+208,15
@@
static inline void writeq(unsigned long long q, volatile void __iomem *addr)
__raw_writeq(cpu_to_le64(q), addr);
}
+#define readb readb
+#define readw readw
+#define readl readl
+#define readq readq
+#define writeb writeb
+#define writew writew
+#define writel writel
+#define writeq writeq
+
#define readb_relaxed(addr) readb(addr)
#define readw_relaxed(addr) readw(addr)
#define readl_relaxed(addr) readl(addr)