From: Sonic Zhang Date: Wed, 7 Jan 2009 15:14:39 +0000 (+0800) Subject: Blackfin arch: Use reads/writes instead of ins/outs directly X-Git-Tag: v2.6.29-rc1~189^2~74 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=55e247e7155829a94e4f77459fc1ebf411b863ab;p=linux-2.6-omap-h63xx.git Blackfin arch: Use reads/writes instead of ins/outs directly Signed-off-by: Sonic Zhang Signed-off-by: Bryan Wu --- diff --git a/arch/blackfin/include/asm/io.h b/arch/blackfin/include/asm/io.h index e7591ea2a0e..63b2d8c7857 100644 --- a/arch/blackfin/include/asm/io.h +++ b/arch/blackfin/include/asm/io.h @@ -94,12 +94,12 @@ static inline unsigned int readl(const volatile void __iomem *addr) #define outw_p(x,addr) outw(x,addr) #define outl_p(x,addr) outl(x,addr) -#define ioread8_rep(a,d,c) insb(a,d,c) -#define ioread16_rep(a,d,c) insw(a,d,c) -#define ioread32_rep(a,d,c) insl(a,d,c) -#define iowrite8_rep(a,s,c) outsb(a,s,c) -#define iowrite16_rep(a,s,c) outsw(a,s,c) -#define iowrite32_rep(a,s,c) outsl(a,s,c) +#define ioread8_rep(a,d,c) readsb(a,d,c) +#define ioread16_rep(a,d,c) readsw(a,d,c) +#define ioread32_rep(a,d,c) readsl(a,d,c) +#define iowrite8_rep(a,s,c) writesb(a,s,c) +#define iowrite16_rep(a,s,c) writesw(a,s,c) +#define iowrite32_rep(a,s,c) writesl(a,s,c) #define ioread8(X) readb(X) #define ioread16(X) readw(X)