Skip to content

Commit

Permalink
Merge branch 'x86-xen-for-linus' of git://git.kernel.org/pub/scm/linu…
Browse files Browse the repository at this point in the history
…x/kernel/git/tip/linux-2.6-tip

* 'x86-xen-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  cpumask: Use modern cpumask style in Xen
  • Loading branch information
Linus Torvalds committed Dec 8, 2009
2 parents 4646575 + d7d3756 commit 3ff6a46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/x86/xen/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static __cpuinit void cpu_bringup(void)

xen_setup_cpu_clockevents();

cpu_set(cpu, cpu_online_map);
set_cpu_online(cpu, true);
percpu_write(cpu_state, CPU_ONLINE);
wmb();

Expand Down
2 changes: 1 addition & 1 deletion drivers/xen/cpu_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static int setup_cpu_watcher(struct notifier_block *notifier,
for_each_possible_cpu(cpu) {
if (vcpu_online(cpu) == 0) {
(void)cpu_down(cpu);
cpu_clear(cpu, cpu_present_map);
set_cpu_present(cpu, false);
}
}

Expand Down

0 comments on commit 3ff6a46

Please sign in to comment.