Skip to content

Commit

Permalink
[PATCH] arm26: drop first arg of prepare_arch_switch, finish_arch_switch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Feb 1, 2006
1 parent ae7a496 commit 407c57b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-arm26/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ extern unsigned int user_debug;
* spin_unlock_irq() and friends are implemented. This avoids
* us needlessly decrementing and incrementing the preempt count.
*/
#define prepare_arch_switch(rq,next) local_irq_enable()
#define finish_arch_switch(rq,prev) spin_unlock(&(rq)->lock)
#define prepare_arch_switch(next) local_irq_enable()
#define finish_arch_switch(prev) spin_unlock(&(rq)->lock)

/*
* switch_to(prev, next) should switch from task `prev' to `next'
Expand Down

0 comments on commit 407c57b

Please sign in to comment.