forked from luck/tmp_suning_uos_patched
9618edab82
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>
12 lines
308 B
C
12 lines
308 B
C
/*
|
|
* Declarations of CHRP platform-specific things.
|
|
*/
|
|
|
|
extern void chrp_nvram_init(void);
|
|
extern void chrp_get_rtc_time(struct rtc_time *);
|
|
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(unsigned long);
|