X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=include%2Fasm-alpha%2Fsystem.h;h=03e9c0e5ed7451d99161959d0d6f716e6789984c;hb=602cada851b28c5792339786efe872fbdc1f5d41;hp=cc9c7e8cced5c2de6f88f3557de2bd6c4c3de385;hpb=9fdb62af92c741addbea15545f214a6e89460865;p=cascardo%2Flinux.git diff --git a/include/asm-alpha/system.h b/include/asm-alpha/system.h index cc9c7e8cced5..03e9c0e5ed74 100644 --- a/include/asm-alpha/system.h +++ b/include/asm-alpha/system.h @@ -1,7 +1,6 @@ #ifndef __ALPHA_SYSTEM_H #define __ALPHA_SYSTEM_H -#include #include #include #include @@ -572,7 +571,7 @@ __cmpxchg_u64(volatile long *m, unsigned long old, unsigned long new) if something tries to do an invalid cmpxchg(). */ extern void __cmpxchg_called_with_bad_pointer(void); -static inline unsigned long +static __always_inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) { switch (size) {