aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/system.h
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-05-08 03:34:59 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:20 -0400
commit5dc12ddee93d63d7107cbbf70db23476d7b30e43 (patch)
treea0c53f8a4d826e73213268c87657ae933d7634b3 /include/asm-powerpc/system.h
parentc343c14aec1e70a51575e3c29391ee86ae7dbeb2 (diff)
Remove tas()
tas() has no users, so get rid of it. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Cc: <linux-arch@vger.kernel.org> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-powerpc/system.h')
-rw-r--r--include/asm-powerpc/system.h2
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.