aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/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-alpha/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-alpha/system.h')
-rw-r--r--include/asm-alpha/system.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-alpha/system.h b/include/asm-alpha/system.h
index 42959c356456..cf1021a97b2e 100644
--- a/include/asm-alpha/system.h
+++ b/include/asm-alpha/system.h
@@ -548,9 +548,6 @@ __xchg_u64_local(volatile long *m, unsigned long val)
548 sizeof(*(ptr))); \ 548 sizeof(*(ptr))); \
549 }) 549 })
550 550
551#define tas(ptr) (xchg((ptr),1))
552
553
554/* 551/*
555 * Atomic compare and exchange. Compare OLD with MEM, if identical, 552 * Atomic compare and exchange. Compare OLD with MEM, if identical,
556 * store NEW in MEM. Return the initial value in MEM. Success is 553 * store NEW in MEM. Return the initial value in MEM. Success is