diff options
author | Ishizaki Kou <kou.ishizaki@toshiba.co.jp> | 2007-10-02 18:21:21 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-03 13:25:28 +1000 |
commit | b41848031ac16aee8d045e86f0b7ad3ba97e961e (patch) | |
tree | 226ba643c13c95373473a4920a25b493fb2f237b /arch/powerpc/lib/string.S | |
parent | 80755b4144b303882437ac301034f0c7330199a8 (diff) |
[POWERPC] Celleb: Support for Power/Reset buttons
This supports Power/Reset buttons on Beat on Celleb.
On Beat, we have an event from Beat if Power button or Reset button
is pressed. This patch catches the event and convert it to a signal
to INIT process by calling ctrl_alt_del() function.
/sbin/inittab have no entry to turn the machine power off so we have
to detect if power button is pressed or not internally in our driver.
This idea is taken from PS3's event handling subsystem.
Signed-off-by: Kou Ishizaki <Kou.Ishizaki@toshiba.co.jp>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/lib/string.S')
0 files changed, 0 insertions, 0 deletions