Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101979
b: refs/heads/master
c: b62b8ef
h: refs/heads/master
i:
  101977: 0f21a46
  101975: ca37b7b
v: v3
  • Loading branch information
Zhang Rui authored and Andi Kleen committed Jul 16, 2008
1 parent 0fb0ca6 commit 633c4a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 26d46867b7d27f68a446b073dac7817721ae4c8f
refs/heads/master: b62b8ef906cdf7115af579ce7378886ce3e0ce00
6 changes: 3 additions & 3 deletions trunk/drivers/acpi/processor_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,9 @@ static acpi_status acpi_processor_hotadd_init(acpi_handle handle, int *p_cpu)

static int acpi_processor_handle_eject(struct acpi_processor *pr)
{
if (cpu_online(pr->id)) {
return (-EINVAL);
}
if (cpu_online(pr->id))
cpu_down(pr->id);

arch_unregister_cpu(pr->id);
acpi_unmap_lsapic(pr->id);
return (0);
Expand Down
1 change: 1 addition & 0 deletions trunk/kernel/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ int __ref cpu_down(unsigned int cpu)
cpu_maps_update_done();
return err;
}
EXPORT_SYMBOL(cpu_down);
#endif /*CONFIG_HOTPLUG_CPU*/

/* Requires cpu_add_remove_lock to be held */
Expand Down

0 comments on commit 633c4a0

Please sign in to comment.