diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2009-03-23 09:50:03 -0400 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2009-03-23 16:20:20 -0400 |
| commit | 80c5520811d3805adcb15c570ea5e2d489fa5d0b (patch) | |
| tree | ae797a7f4af39f80e77526533d06ac23b439f0ab /drivers/xen/cpu_hotplug.c | |
| parent | b3e3b302cf6dc8d60b67f0e84d1fa5648889c038 (diff) | |
| parent | 8c083f081d0014057901c68a0a3e0f8ca7ac8d23 (diff) | |
Merge branch 'cpus4096' into irq/threaded
Conflicts:
arch/parisc/kernel/irq.c
kernel/irq/handle.c
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/xen/cpu_hotplug.c')
| -rw-r--r-- | drivers/xen/cpu_hotplug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/xen/cpu_hotplug.c b/drivers/xen/cpu_hotplug.c index 974f56d1ebe1..5f54c01c1568 100644 --- a/drivers/xen/cpu_hotplug.c +++ b/drivers/xen/cpu_hotplug.c | |||
| @@ -10,7 +10,7 @@ static void enable_hotplug_cpu(int cpu) | |||
| 10 | if (!cpu_present(cpu)) | 10 | if (!cpu_present(cpu)) |
| 11 | arch_register_cpu(cpu); | 11 | arch_register_cpu(cpu); |
| 12 | 12 | ||
| 13 | cpu_set(cpu, cpu_present_map); | 13 | set_cpu_present(cpu, true); |
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | static void disable_hotplug_cpu(int cpu) | 16 | static void disable_hotplug_cpu(int cpu) |
| @@ -18,7 +18,7 @@ static void disable_hotplug_cpu(int cpu) | |||
| 18 | if (cpu_present(cpu)) | 18 | if (cpu_present(cpu)) |
| 19 | arch_unregister_cpu(cpu); | 19 | arch_unregister_cpu(cpu); |
| 20 | 20 | ||
| 21 | cpu_clear(cpu, cpu_present_map); | 21 | set_cpu_present(cpu, false); |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | static void vcpu_hotplug(unsigned int cpu) | 24 | static void vcpu_hotplug(unsigned int cpu) |
