mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
[PATCH] arm26: drop local task_running copy
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>
This commit is contained in:
parent
896f361bd2
commit
ae7a49666a
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user