diff options
Diffstat (limited to 'include/asm-powerpc/system.h')
-rw-r--r-- | include/asm-powerpc/system.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-powerpc/system.h b/include/asm-powerpc/system.h index 77bf5873a013..09621f611dbc 100644 --- a/include/asm-powerpc/system.h +++ b/include/asm-powerpc/system.h | |||
@@ -335,8 +335,6 @@ __xchg_local(volatile void *ptr, unsigned long x, unsigned int size) | |||
335 | (unsigned long)_x_, sizeof(*(ptr))); \ | 335 | (unsigned long)_x_, sizeof(*(ptr))); \ |
336 | }) | 336 | }) |
337 | 337 | ||
338 | #define tas(ptr) (xchg((ptr),1)) | ||
339 | |||
340 | /* | 338 | /* |
341 | * Compare and exchange - if *p == old, set it to new, | 339 | * Compare and exchange - if *p == old, set it to new, |
342 | * and return the old value of *p. | 340 | * and return the old value of *p. |