]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] sh: machine_halt()/machine_power_off() cleanups
authorPaul Mundt <lethal@linux-sh.org>
Wed, 1 Feb 2006 11:06:08 +0000 (03:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:20 +0000 (08:53 -0800)
commita3310bbd3add738c2b40bb4e4dc966cdea9d6a04
treed0d1a654ebff78522ed8b3f6cdeb169cf384a2f4
parent6c80a1f888f548c090feaac3ad63b2d1f607a2c5
[PATCH] sh: machine_halt()/machine_power_off() cleanups

machine_halt() managed to trigger the soft lockup detection due to not
disabling interrupts before going to sleep, so correct that.

machine_power_off() should be using pm_power_off, which lets us drop the
board-specific hacks from here.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sh/kernel/process.c