diff options
| author | Paul Mackerras <paulus@samba.org> | 2006-03-27 05:48:57 -0500 | 
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2006-03-27 05:48:57 -0500 | 
| commit | 9618edab82fda8dbce5ea3abcdac9ded07abb2d4 (patch) | |
| tree | 8edacdcf4d0ecdd8a7b5b0f88f3cf68c393afbc5 /include | |
| 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 'include')
| -rw-r--r-- | include/asm-powerpc/machdep.h | 4 | 
1 files changed, 0 insertions, 4 deletions
| diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h index 21c8dc90d175..758e47fe8c1e 100644 --- a/include/asm-powerpc/machdep.h +++ b/include/asm-powerpc/machdep.h | |||
| @@ -176,10 +176,6 @@ struct machdep_calls { | |||
| 176 | May be NULL. */ | 176 | May be NULL. */ | 
| 177 | void (*init)(void); | 177 | void (*init)(void); | 
| 178 | 178 | ||
| 179 | void (*heartbeat)(void); | ||
| 180 | unsigned long heartbeat_reset; | ||
| 181 | unsigned long heartbeat_count; | ||
| 182 | |||
| 183 | void (*setup_io_mappings)(void); | 179 | void (*setup_io_mappings)(void); | 
| 184 | 180 | ||
| 185 | void (*early_serial_map)(void); | 181 | void (*early_serial_map)(void); | 
