Commit 0cb385e3 authored by Kyle McMartin's avatar Kyle McMartin Committed by Kyle McMartin

parisc: define x->x mmio accessors

Bloody inconsiderate driver writers...
Signed-off-by: default avatarKyle McMartin <kyle@mcmartin.ca>
parent d4995244
...@@ -208,6 +208,15 @@ static inline void writeq(unsigned long long q, volatile void __iomem *addr) ...@@ -208,6 +208,15 @@ static inline void writeq(unsigned long long q, volatile void __iomem *addr)
__raw_writeq(cpu_to_le64(q), 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 readb_relaxed(addr) readb(addr)
#define readw_relaxed(addr) readw(addr) #define readw_relaxed(addr) readw(addr)
#define readl_relaxed(addr) readl(addr) #define readl_relaxed(addr) readl(addr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment