--- include/asm-arm/byteorder.h.orig 2006-10-05 22:44:38.679856441 +0100 +++ include/asm-arm/byteorder.h 2006-10-05 22:45:16.206748589 +0100 @@ -18,7 +18,7 @@ #include #include -static inline __attribute_const__ __u32 ___arch__swab32(__u32 x) +static __inline__ __attribute_const__ __u32 ___arch__swab32(__u32 x) { __u32 t; @@ -29,7 +29,7 @@ * right thing and not screw it up to different degrees * depending on the gcc version. */ - asm ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x)); + __asm__ ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x)); } else #endif t = x ^ ((x << 16) | (x >> 16)); /* eor r1,r0,r0,ror #16 */