]> err.no Git - linux-2.6/commit
[PATCH] sleep: Fix oops in enter_state
authorPavel Machek <pavel@ucw.cz>
Wed, 9 Nov 2005 05:34:30 +0000 (21:34 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:55:50 +0000 (07:55 -0800)
commit969e9afd489514252a680914c6d8b9322c713eb4
treec4a5f7961995961e0305344c2f5759a80c3955ff
parent08de1f0461ad40136e7373cf85e2f3c221a9ad9a
[PATCH] sleep: Fix oops in enter_state

If ACPI sleep is not configured, but someone still wants to run swsusp,
he'd get oops in enter_state.  This is regression since 2.6.14 and this
fixes it.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/main.c