diff options
Diffstat (limited to 'include/asm-i386/byteorder.h')
-rw-r--r-- | include/asm-i386/byteorder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/byteorder.h b/include/asm-i386/byteorder.h index 51d66f8fc..bbfb629fa 100644 --- a/include/asm-i386/byteorder.h +++ b/include/asm-i386/byteorder.h @@ -12,7 +12,7 @@ static __inline__ __const__ __u32 ___arch__swab32(__u32 x) { -#if defined(__KERNEL__) && !defined(CONFIG_M386) +#ifdef CONFIG_X86_BSWAP __asm__("bswap %0" : "=r" (x) : "0" (x)); #else __asm__("xchgb %b0,%h0\n\t" /* swap lower bytes */ |