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

From: Alexey Dobriyan
Date: Wed Jan 18 2006 - 15:42:45 EST


Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

include/asm-arm26/system.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/