diff options
author | Paul Mackerras <paulus@samba.org> | 2006-03-27 21:48:57 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-27 21:48:57 +1100 |
commit | 9618edab82fda8dbce5ea3abcdac9ded07abb2d4 (patch) | |
tree | 8edacdcf4d0ecdd8a7b5b0f88f3cf68c393afbc5 /arch/powerpc/platforms/chrp/chrp.h | |
parent | d0cc0dfa2dcf18854144b16a74502bd25c4eaedf (diff) |
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>
Diffstat (limited to 'arch/powerpc/platforms/chrp/chrp.h')
-rw-r--r-- | arch/powerpc/platforms/chrp/chrp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/chrp/chrp.h b/arch/powerpc/platforms/chrp/chrp.h index 814f54742e0..63f0aee4c15 100644 --- a/arch/powerpc/platforms/chrp/chrp.h +++ b/arch/powerpc/platforms/chrp/chrp.h @@ -8,4 +8,4 @@ extern int chrp_set_rtc_time(struct rtc_time *); extern long chrp_time_init(void); extern void chrp_find_bridges(void); -extern void chrp_event_scan(void); +extern void chrp_event_scan(unsigned long); |