* [PATCH] arm26: drop first arg of prepare_arch_switch, finish_arch_switch
@ 2006-01-18 21:01 Alexey Dobriyan
0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2006-01-18 21:01 UTC (permalink / raw)
To: Andrew Morton; +Cc: Ian Molton, linux-kernel
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
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'
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-18 20:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-18 21:01 [PATCH] arm26: drop first arg of prepare_arch_switch, finish_arch_switch Alexey Dobriyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).