X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-ppc%2Fsystem.h;h=d84a3cf4d033682b48dadecd7249b13c8b6419b9;hb=ec4883b015c3212f6f6d04fb2ff45f528492f598;hp=738943584c017547b765998214cdecb4db235397;hpb=83b0fe818cd2f6cc03365440f2b7cca297a45b4f;p=linux-2.6 diff --git a/include/asm-ppc/system.h b/include/asm-ppc/system.h index 738943584c..d84a3cf4d0 100644 --- a/include/asm-ppc/system.h +++ b/include/asm-ppc/system.h @@ -6,7 +6,6 @@ #include -#include #include /* @@ -170,7 +169,6 @@ xchg_u32(volatile void *p, unsigned long val) extern void __xchg_called_with_bad_pointer(void); #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) -#define tas(ptr) (xchg((ptr),1)) static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) {