[PATCH] powerpc: sched fixups
authorAndrew Morton <akpm@osdl.org>
Wed, 9 Nov 2005 23:45:30 +0000 (15:45 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 10 Nov 2005 00:07:44 +0000 (16:07 -0800)
commite4d76e1c0b15590f2ad9bba89426c2520cd22ca6
tree077aa0dd49bc49e93e18ec9645443b185d513094
parenta47ab9371e664952b1104a70ec8e9b74db3f7a5f
[PATCH] powerpc: sched fixups

- Re-add a hunk lost during merge: ppc64 is missing the hunk that disables
  preempt on the secondary CPUs before they call cpu_idle().

- ppc's cpu_idle() had the need_resched() test wrong.

Cc: Nick Piggin <nickpiggin@yahoo.com.au>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/kernel/smp.c
arch/ppc/kernel/idle.c