• Patrick Mochel's avatar
    Consolidate ACPI and APM sysrq implementations. · 684750a2
    Patrick Mochel authored
    Each power management scheme was implmenting a sysrq callback for 'o' which
    would call their respective power off routines. 
    
    This moves the installation of the sysrq handler to kernel/pm.c, and calls
    pm_power_off(), which will work for any platform that has that method
    defined. 
    684750a2
main.c 7.43 KB