aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi/button.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-11-18 07:29:51 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-18 07:29:51 -0800
commit2203d6ed448ff3b777ee6bb614a53e686b483e5b (patch)
treeb7f540f808bde4febc304ad60b9af277ab0e7170 /drivers/acpi/button.c
parent2656c076e31a3ce3ab2a987a578e7122dc2af51d (diff)
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>
Diffstat (limited to 'drivers/acpi/button.c')
0 files changed, 0 insertions, 0 deletions