From: Alexey Dobriyan Date: Wed, 1 Feb 2006 11:06:20 +0000 (-0800) Subject: [PATCH] arm26: drop first arg of prepare_arch_switch, finish_arch_switch X-Git-Tag: v2.6.16-rc2~56 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=407c57b86237fc2512654fa2f2ceedda92684472;p=linux-2.6 [PATCH] arm26: drop first arg of prepare_arch_switch, finish_arch_switch Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-arm26/system.h b/include/asm-arm26/system.h index 71b89c4a3c..702884926a 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'