]> err.no Git - linux-2.6/commitdiff
[PATCH] arm26: drop first arg of prepare_arch_switch, finish_arch_switch
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 1 Feb 2006 11:06:20 +0000 (03:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:22 +0000 (08:53 -0800)
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>
include/asm-arm26/system.h

index 71b89c4a3c320488471f138f95fb42c59a4b8a18..702884926a55931254ad69f3aadd968845054596 100644 (file)
@@ -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'