• Eric W. Biederman's avatar
    [PATCH] i386 machine_power_off cleanup · 4fa2564a
    Eric W. Biederman authored
    
    
    Call machine_shutdown() to move to the boot cpu
    and disable apics.  Both acpi_power_off and
    apm_power_off want to move to the boot cpu.
    and we are already disabling the local apics
    so calling machine_shutdown simply reuses
    code.
    
    ia64 doesn't have a special path in power_off
    for efi so there is no reason i386 should.  If
    we really need to call the efi power off path
    the efi driver can set pm_power_off like everyone
    else.
    Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    4fa2564a