From 28d5df5fa2b4eaec0fca87f0b66de3c4f8f63522 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sat, 10 Feb 2001 00:43:15 +0000 Subject: Don't swap I/O space access for little endian systems. --- include/asm-mips/io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/asm-mips/io.h b/include/asm-mips/io.h index b10fa8ba7..1a89c2cf0 100644 --- a/include/asm-mips/io.h +++ b/include/asm-mips/io.h @@ -24,7 +24,7 @@ * Sane hardware offers swapping of I/O space accesses in hardware; less * sane hardware forces software to fiddle with this ... */ -#ifdef CONFIG_SWAP_IO_SPACE +#if defined(CONFIG_SWAP_IO_SPACE) && defined(__MIPSEB__) #define __ioswab8(x) (x) #define __ioswab16(x) swab16(x) -- cgit v1.2.3