Messages in this thread | | | Subject | Re: [PATCH 2/2] PM: fast power off - driver | From | Andi Kleen <> | Date | 28 Jan 2007 04:20:14 +0100 |
| |
akuster <akuster@mvista.com> writes:
> My apologies, I cc'd the wrong list the first time around. > > - Armin > --- > > Fastpoweroff default profile driver
Why don't you just call the existing reboot(2)? I've had a simple C program that does a very fast poweroff (or reboot) forever and it works just fine. It won't kill all processes, but if you really want to do that you can use killall -r .* first.
-Andi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |