[PATCH] properly stop devices before poweroff
authorPavel Machek <pavel@ucw.cz>
Sat, 25 Jun 2005 21:55:11 +0000 (14:55 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:33 +0000 (16:24 -0700)
commit620b03276488c3cf103caf1e326bd21f00d3df84
treee2de713c76ddb42b091305b88aa7ca4938081789
parent5ce47e59c9688d8480ae41100117d8188c191401
[PATCH] properly stop devices before poweroff

Without this patch, Linux provokes emergency disk shutdowns and
similar nastiness. It was in SuSE kernels for some time, IIRC.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/pm.h
kernel/sys.c