aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm26/system.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-02-01 06:06:20 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-01 11:53:22 -0500
commit407c57b86237fc2512654fa2f2ceedda92684472 (patch)
treee7ddd59f8f71baa654541fe3121750c3c0411385 /include/asm-arm26/system.h
parentae7a49666af427da745e69a39fcfdd3a8b4ab3e8 (diff)
[PATCH] arm26: drop first arg of prepare_arch_switch, finish_arch_switch
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>
Diffstat (limited to 'include/asm-arm26/system.h')
-rw-r--r--include/asm-arm26/system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm26/system.h b/include/asm-arm26/system.h
index 71b89c4a3c32..702884926a55 100644
--- a/include/asm-arm26/system.h
+++ b/include/asm-arm26/system.h
@@ -98,8 +98,8 @@ extern unsigned int user_debug;
98 * spin_unlock_irq() and friends are implemented. This avoids 98 * spin_unlock_irq() and friends are implemented. This avoids
99 * us needlessly decrementing and incrementing the preempt count. 99 * us needlessly decrementing and incrementing the preempt count.
100 */ 100 */
101#define prepare_arch_switch(rq,next) local_irq_enable() 101#define prepare_arch_switch(next) local_irq_enable()
102#define finish_arch_switch(rq,prev) spin_unlock(&(rq)->lock) 102#define finish_arch_switch(prev) spin_unlock(&(rq)->lock)
103 103
104/* 104/*
105 * switch_to(prev, next) should switch from task `prev' to `next' 105 * switch_to(prev, next) should switch from task `prev' to `next'