• Andrew Morton's avatar
    [PATCH] system_state splitup · bf7c3d2d
    Andrew Morton authored
    Split the system_state state `SYSTEM_SHUTDOWN' into SYSTEM_HALT,
    SYSTEM_POWER_OFF and SYSTEM_RESTART and export system_state to modules.
    
    This allows driver shutdown routines to know why they are being shutdown.  The
    IDE subsystem wants this so that it knows to not spin the disks down across a
    reboot.
    bf7c3d2d
sys.c 37.5 KB