X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-sparc%2Fsystem.h;h=1f6b71f9e1b637f9c773e26db22dbc26e690402d;hb=71f512e89704f5aa6fc0b97e4a719184080b8938;hp=3557781a4bfd7082bb8bbe8dd1e3a5c8d2bc1f1d;hpb=da61396d24e37258817e42537c482e962b4742f7;p=powerpc.git diff --git a/include/asm-sparc/system.h b/include/asm-sparc/system.h index 3557781a4b..1f6b71f9e1 100644 --- a/include/asm-sparc/system.h +++ b/include/asm-sparc/system.h @@ -204,7 +204,7 @@ static inline unsigned long getipl(void) BTFIXUPDEF_CALL(void, ___xchg32, void) #endif -extern __inline__ unsigned long xchg_u32(__volatile__ unsigned long *m, unsigned long val) +static inline unsigned long xchg_u32(__volatile__ unsigned long *m, unsigned long val) { #ifdef CONFIG_SMP __asm__ __volatile__("swap [%2], %0"