diff options
author | Fabio Baltieri <fabio.baltieri@gmail.com> | 2011-08-15 16:19:30 +0200 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-11-03 13:12:30 -0500 |
commit | 6ca6ca5d813845533bcaaaeb2ca59d0805a028ca (patch) | |
tree | c5dbff975e963e54ef2203187c8e89b5f26bf5d4 /kernel/mutex.c | |
parent | 43a327b79c3945049ccf675452d2d519084c9bc6 (diff) | |
download | linux-6ca6ca5d813845533bcaaaeb2ca59d0805a028ca.tar.gz linux-6ca6ca5d813845533bcaaaeb2ca59d0805a028ca.tar.bz2 linux-6ca6ca5d813845533bcaaaeb2ca59d0805a028ca.zip |
powerpc/83xx: Add shutdown request support to MCU handling on MPC8349 MITX
This patch add support for calling ctrl_alt_del() when the power button is
pressed for more than about 2 seconds on some freescale MPC83xx evaluation
boards and reference design.
The code uses a kthread to poll the CTRL_BTN bit each second.
Also change Kconfig entry of the driver to bool, as device's gpio
registration is broken when loading as module.
Tested on an MPC8315E RDB board.
Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions