diff options
author | Kyle McMartin <kyle@shortfin.cabal.ca> | 2009-02-17 12:42:52 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@treachery.i.cabal.ca> | 2009-03-13 01:20:48 -0400 |
commit | 0cb385e3ff54ee095d9873209f4da764dfb17fec (patch) | |
tree | 72b1dc876ec08a019fe4534e094a7f3738bfa976 /arch | |
parent | d4995244bd4c02eb7bea3c63aee81a2f2b64910e (diff) |
parisc: define x->x mmio accessors
Bloody inconsiderate driver writers...
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/include/asm/io.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/io.h b/arch/parisc/include/asm/io.h index 1fa905ea53de..1f6d2ae7aba5 100644 --- 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) | |||
208 | __raw_writeq(cpu_to_le64(q), addr); | 208 | __raw_writeq(cpu_to_le64(q), addr); |
209 | } | 209 | } |
210 | 210 | ||
211 | #define readb readb | ||
212 | #define readw readw | ||
213 | #define readl readl | ||
214 | #define readq readq | ||
215 | #define writeb writeb | ||
216 | #define writew writew | ||
217 | #define writel writel | ||
218 | #define writeq writeq | ||
219 | |||
211 | #define readb_relaxed(addr) readb(addr) | 220 | #define readb_relaxed(addr) readb(addr) |
212 | #define readw_relaxed(addr) readw(addr) | 221 | #define readw_relaxed(addr) readw(addr) |
213 | #define readl_relaxed(addr) readl(addr) | 222 | #define readl_relaxed(addr) readl(addr) |