projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b47c97
)
acpi: fix "buggy BIOS check" when CPUs are hot removed
author
Alok Kataria
<
[email protected]
>
Wed, 9 Apr 2008 00:41:56 +0000
(17:41 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 9 Apr 2008 01:25:53 +0000
(18:25 -0700)
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 <
[email protected]
>
Signed-off-by: Dan Arai <
[email protected]
>
Cc: Len Brown <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/acpi/processor_core.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/processor_core.c
b/drivers/acpi/processor_core.c
index 36a68fa114e3e7b97b85585e40e3f74929110d79..a825b431b64f294df234e05e1244d56d6ce83bf3 100644
(file)
--- a/
drivers/acpi/processor_core.c
+++ b/
drivers/acpi/processor_core.c
@@
-822,7
+822,7
@@
static int acpi_processor_remove(struct acpi_device *device, int type)
}
processors[pr->id] = NULL;
-
+ processor_device_array[pr->id] = NULL;
kfree(pr);
return 0;