[PATCH] ppc64: Make idle_loop a ppc_md function
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 8 Jul 2005 00:56:28 +0000 (17:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:40 +0000 (18:23 -0700)
commitfd899c0cc725387992ccfc83fb6f70505c36cbeb
tree0de5d3960c7e7247638c962d7913acec1ce2e9fe
parent88de0be0c7335650326a1236bf6ca1ed265c0a1c
[PATCH] ppc64: Make idle_loop a ppc_md function

This patch adds an idle member to the ppc_md structure and calls it from
cpu_idle().  If a platform leaves ppc_md.idle as null it will get the default
idle loop default_idle().

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/idle.c
arch/ppc64/kernel/setup.c
include/asm-ppc64/machdep.h