소스 검색

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

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>
Alexey Dobriyan 19 년 전
부모
커밋
407c57b862
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      include/asm-arm26/system.h

+ 2 - 2
include/asm-arm26/system.h

@@ -98,8 +98,8 @@ extern unsigned int user_debug;
  * spin_unlock_irq() and friends are implemented.  This avoids
  * spin_unlock_irq() and friends are implemented.  This avoids
  * us needlessly decrementing and incrementing the preempt count.
  * 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'
  * switch_to(prev, next) should switch from task `prev' to `next'