projects/linux·commit 407c57b8

[PATCH] arm26: drop first arg of prepare_arch_switch, finish_arch_switch

407c57b8 · Alexey Dobriyan <[email protected]> · 2006-02-01 03:06:20 -08:00

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]>
Commit
407c57b86237fc2512654fa2f2ceedda92684472
Parents
ae7a4966

Changes

1 files changed · +2 −2

FileStatusAddDelContent
include/asm-arm26/system.hmodified+2−2View file

include/asm-arm26/system.h

View file
diff --git a/include/asm-arm26/system.h b/include/asm-arm26/system.h
index 71b89c4..7028849 100644
--- a/include/asm-arm26/system.h
+++ b/include/asm-arm26/system.h
@@ -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'