powerpc: Fix event-scan code for 32-bit CHRP
authorPaul Mackerras <paulus@samba.org>
Mon, 27 Mar 2006 10:48:57 +0000 (21:48 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 27 Mar 2006 10:48:57 +0000 (21:48 +1100)
commit9618edab82fda8dbce5ea3abcdac9ded07abb2d4
tree8edacdcf4d0ecdd8a7b5b0f88f3cf68c393afbc5
parentd0cc0dfa2dcf18854144b16a74502bd25c4eaedf
powerpc: Fix event-scan code for 32-bit CHRP

On CHRP machines we are supposed to call into firmware (RTAS)
periodically, to give it a chance to check for errors and other
events.  Under ppc we had some special code in timer_interrupt
to do this, but that didn't get transferred over to arch/powerpc.
Instead, we use an array of timer_list structs, one per CPU,
and use add_timer_on to make sure each one gets called on the
appropriate CPU.

With this we can remove the heartbeat_* elements of the ppc_md
struct.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/chrp/chrp.h
arch/powerpc/platforms/chrp/setup.c
include/asm-powerpc/machdep.h