summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/machdep.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-03-27 21:48:57 +1100
committerPaul Mackerras <paulus@samba.org>2006-03-27 21:48:57 +1100
commit9618edab82fda8dbce5ea3abcdac9ded07abb2d4 (patch)
tree8edacdcf4d0ecdd8a7b5b0f88f3cf68c393afbc5 /include/asm-powerpc/machdep.h
parentd0cc0dfa2dcf18854144b16a74502bd25c4eaedf (diff)
downloadlwn-9618edab82fda8dbce5ea3abcdac9ded07abb2d4.tar.gz
lwn-9618edab82fda8dbce5ea3abcdac9ded07abb2d4.zip
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/asm-powerpc/machdep.h')
-rw-r--r--include/asm-powerpc/machdep.h4
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 {
May be NULL. */
void (*init)(void);
- void (*heartbeat)(void);
- unsigned long heartbeat_reset;
- unsigned long heartbeat_count;
-
void (*setup_io_mappings)(void);
void (*early_serial_map)(void);