From 5dc12ddee93d63d7107cbbf70db23476d7b30e43 Mon Sep 17 00:00:00 2001 From: Jeff Dike Date: Tue, 8 May 2007 00:34:59 -0700 Subject: Remove tas() tas() has no users, so get rid of it. Signed-off-by: Jeff Dike Cc: Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-sh/system.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include/asm-sh') diff --git a/include/asm-sh/system.h b/include/asm-sh/system.h index 127af304865..e7e96ee0c8a 100644 --- a/include/asm-sh/system.h +++ b/include/asm-sh/system.h @@ -82,16 +82,6 @@ static inline void sched_cacheflush(void) } #endif -static inline unsigned long tas(volatile int *m) -{ - unsigned long retval; - - __asm__ __volatile__ ("tas.b @%1\n\t" - "movt %0" - : "=r" (retval): "r" (m): "t", "memory"); - return retval; -} - /* * A brief note on ctrl_barrier(), the control register write barrier. * -- cgit v1.2.3-70-g09d2