mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2025-03-04 16:41:55 +00:00
Merge branch 'x86-xen-for-linus' of git://git.kernel.org/pub/scm/linux/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
This commit is contained in:
commit
3ff6a468b4
@ -73,7 +73,7 @@ static __cpuinit void cpu_bringup(void)
|
|||||||
|
|
||||||
xen_setup_cpu_clockevents();
|
xen_setup_cpu_clockevents();
|
||||||
|
|
||||||
cpu_set(cpu, cpu_online_map);
|
set_cpu_online(cpu, true);
|
||||||
percpu_write(cpu_state, CPU_ONLINE);
|
percpu_write(cpu_state, CPU_ONLINE);
|
||||||
wmb();
|
wmb();
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ static int setup_cpu_watcher(struct notifier_block *notifier,
|
|||||||
for_each_possible_cpu(cpu) {
|
for_each_possible_cpu(cpu) {
|
||||||
if (vcpu_online(cpu) == 0) {
|
if (vcpu_online(cpu) == 0) {
|
||||||
(void)cpu_down(cpu);
|
(void)cpu_down(cpu);
|
||||||
cpu_clear(cpu, cpu_present_map);
|
set_cpu_present(cpu, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user