Fix ACPI processor power block initialization
authorLinus Torvalds <torvalds@g5.osdl.org>
Fri, 18 Nov 2005 15:29:51 +0000 (07:29 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 18 Nov 2005 15:29:51 +0000 (07:29 -0800)
Properly clear the memory, and set "pr->flags.power" only if a C2 or
deeper state is valid (to make the code match both the comment and
previous behaviour).

This fixes a boot-time lockup reported by Maneesh Soni when using
"maxcpus=1".

Acked-by: Maneesh Soni <maneesh@in.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found