Re: [PATCH 2/2] PM: fast power off - driver

From: Andi Kleen
Date: Wed Jan 31 2007 - 02:06:38 EST


akuster <akuster@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/