Skip to content

Commit

Permalink
[PATCH] Register disabled CPUs
Browse files Browse the repository at this point in the history
Needed to make the earlier use disabled CPUs for CPU hotplug patch
actually work.

Need to register disabled processors as well, so we can count them
towards cpu_possible_map as hot pluggable cpus.

Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Ashok Raj authored and Linus Torvalds committed Nov 20, 2005
1 parent d716916 commit fbe83e2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/i386/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,7 @@ acpi_parse_lapic(acpi_table_entry_header * header, const unsigned long end)

acpi_table_print_madt_entry(header);

/* no utility in registering a disabled processor */
if (processor->flags.enabled == 0)
return 0;
/* Register even disabled CPUs for cpu hotplug */

x86_acpiid_to_apicid[processor->acpi_id] = processor->id;

Expand Down

0 comments on commit fbe83e2

Please sign in to comment.