[PATCH] arm26: drop local task_running copy
Alexey Dobriyan [Wed, 1 Feb 2006 11:06:20 +0000 (03:06 -0800)]
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Ian Molton <spyro@f2s.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

include/asm-arm26/system.h

index ca4ccfc..71b89c4 100644 (file)
@@ -100,7 +100,6 @@ extern unsigned int user_debug;
  */
 #define prepare_arch_switch(rq,next)   local_irq_enable()
 #define finish_arch_switch(rq,prev)    spin_unlock(&(rq)->lock)
-#define task_running(rq,p)             ((rq)->curr == (p))
 
 /*
  * switch_to(prev, next) should switch from task `prev' to `next'