]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
acpi: fix "buggy BIOS check" when CPUs are hot removed
authorAlok Kataria <akataria@vmware.com>
Wed, 9 Apr 2008 00:41:56 +0000 (17:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 9 Apr 2008 01:25:53 +0000 (18:25 -0700)
commitba62b077871a5255e271f4fdae57167651839277
tree7acac595f855c316a1f5d85024b103460c818cb2
parent4b47c971dc947cadecc20dc7681037e96ece520e
acpi: fix "buggy BIOS check" when CPUs are hot removed

Fixes a BUG in ACPI hotplugging.

processor_device_array[pr->id] needs to be set to NULL when removing a CPU.
Else the "buggy BIOS check" in acpi_processor_start mistakenly fires when a
CPU is removed from the system and then later re-added.

Signed-off-by: Alok N Kataria <akataria@vmware.com>
Signed-off-by: Dan Arai <arai@vmware.com>
Cc: Len Brown <lenb@kernel.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/processor_core.c