]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b4f4e3e11f3ae33623315c3acbeaf3c800433ee
treeb7f540f808bde4febc304ad60b9af277ab0e7170
parent76f8b97be849f2df287a1a490578b7d98c53e684
Fix ACPI processor power block initialization

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>
drivers/acpi/processor_idle.c