[PATCH] arm26: drop local task_running copy

Signed-off-by: Alexey Dobriyan <[email protected]>
Acked-by: Ian Molton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Alexey Dobriyan 2006-02-01 03:06:20 -08:00 • committed by Linus Torvalds
commit ae7a49666a

View 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'