From: Kyle McMartin Date: Tue, 17 Feb 2009 17:42:52 +0000 (-0500) Subject: parisc: define x->x mmio accessors X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0cb385e3ff54ee095d9873209f4da764dfb17fec;p=linux-2.6-omap-h63xx.git parisc: define x->x mmio accessors Bloody inconsiderate driver writers... Signed-off-by: Kyle McMartin --- diff --git a/arch/parisc/include/asm/io.h b/arch/parisc/include/asm/io.h index 1fa905ea53d..1f6d2ae7aba 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) __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)