--- zzzz-none-000/linux-2.6.32.61/arch/mips/include/asm/system.h 2013-06-10 09:43:48.000000000 +0000 +++ ar9-7330-650/linux-2.6.32.61/arch/mips/include/asm/system.h 2011-07-20 07:23:51.000000000 +0000 @@ -194,7 +194,7 @@ #define __xchg_u64 __xchg_u64_unsupported_on_32bit_kernels #endif -static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) +static __always_inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) { switch (size) { case 4: