diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2008-12-21 00:39:04 +0000 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-01-05 18:15:25 +0000 |
commit | 0ca5506da6795ebc700fd41cef2a7785613fbe28 (patch) | |
tree | a1f5c33c26a134f72cae51c89c0be349bc71b593 /arch/parisc | |
parent | e0e7ed4811ce32d48ca8ee9fd136357d093243a9 (diff) | |
download | linux-0ca5506da6795ebc700fd41cef2a7785613fbe28.tar.gz linux-0ca5506da6795ebc700fd41cef2a7785613fbe28.tar.bz2 linux-0ca5506da6795ebc700fd41cef2a7785613fbe28.zip |
parisc: use leX_to_cpu in place of __fswabX
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/include/asm/io.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/parisc/include/asm/io.h b/arch/parisc/include/asm/io.h index b92efb307e2e..d3031d1f9d03 100644 --- a/arch/parisc/include/asm/io.h +++ b/arch/parisc/include/asm/io.h @@ -176,9 +176,9 @@ static inline void __raw_writeq(unsigned long long b, volatile void __iomem *add /* readb can never be const, so use __fswab instead of le*_to_cpu */ #define readb(addr) __raw_readb(addr) -#define readw(addr) __fswab16(__raw_readw(addr)) -#define readl(addr) __fswab32(__raw_readl(addr)) -#define readq(addr) __fswab64(__raw_readq(addr)) +#define readw(addr) le16_to_cpu(__raw_readw(addr)) +#define readl(addr) le32_to_cpu(__raw_readl(addr)) +#define readq(addr) le64_to_cpu(__raw_readq(addr)) #define writeb(b, addr) __raw_writeb(b, addr) #define writew(b, addr) __raw_writew(cpu_to_le16(b), addr) #define writel(b, addr) __raw_writel(cpu_to_le32(b), addr) |