Re: [patch 4/4] Add common orderly_poweroff()

2007-05-09 Thread Andi Kleen
On Tuesday 08 May 2007 22: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. Fine for me from the x86 side. -Andi - To unsubscribe from this list: send the line "unsu

Re: [patch 4/4] Add common orderly_poweroff()

2007-05-08 Thread Randy Dunlap
On Tue, 08 May 2007 13:51:33 -0700 Jeremy Fitzhardinge wrote: > diff -r 9eea40ea89b7 kernel/sys.c > --- a/kernel/sys.cTue May 08 12:59:41 2007 -0700 > +++ b/kernel/sys.cTue May 08 13:42:22 2007 -0700 > @@ -2208,3 +2208,58 @@ asmlinkage long sys_getcpu(unsigned __us > } > return

Re: [patch 4/4] Add common orderly_poweroff()

2007-05-08 Thread Len Brown
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: ker

[patch 4/4] Add common orderly_poweroff()

2007-05-08 Thread Jeremy Fitzhardinge
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 com