• Paul Mackerras's avatar
    powerpc: Fix event-scan code for 32-bit CHRP · 9618edab
    Paul Mackerras authored
    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: default avatarPaul Mackerras <paulus@samba.org>
    9618edab
setup.c 13.2 KB