On Tuesday 08 May 2007 16:51, Jeremy Fitzhardinge wrote:
> Various pieces of code around the kernel want to be able to trigger an
> orderly poweroff. This pulls them together into a single
> implementation.
>
> By default the poweroff command is /sbin/poweroff, but it can be set
> via sysctl: kernel/poweroff_cmd. This is split at whitespace, so it
> can include command-line arguments.
>
> This patch replaces four other instances of invoking either "poweroff"
> or "shutdown -h now": one sparc64, two sbus drivers, and acpi thermal
> management.
>
> Signed-off-by: Jeremy Fitzhardinge <[email protected]>
> Cc: Chris Wright <[email protected]>
> Cc: Andrew Morton <[email protected]>
> Cc: Andi Kleen <[email protected]>
> Cc: Len Brown <[email protected]>
Re: the ACPI parts
Acked-by: Len Brown <[email protected]>
thanks,
-Len
> Cc: Al Viro <[email protected]>
> Cc: Arnd Bergmann <[email protected]>
> Cc: David S. Miller <[email protected]>
>
> ---
> arch/sparc64/kernel/power.c | 40 +------------------------------
> drivers/acpi/thermal.c | 24 +-----------------
> drivers/sbus/char/bbc_envctrl.c | 5 +--
> drivers/sbus/char/envctrl.c | 7 +----
> include/linux/reboot.h | 5 +++
> include/linux/sysctl.h | 1
> kernel/sys.c | 50 +++++++++++++++++++++++++++++++++++++++
> kernel/sysctl.c | 10 +++++++
> 8 files changed, 74 insertions(+), 68 deletions(-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]