projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a4bd8d
)
x86: fix more deprecated cpu function usage.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 10 Mar 2015 02:13:45 +0000
(12:43 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 10 Mar 2015 03:24:40 +0000
(13:54 +1030)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/x86/kernel/apic/x2apic_cluster.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/apic/x2apic_cluster.c
b/arch/x86/kernel/apic/x2apic_cluster.c
index d9d0bd2faaf42cf4b1e894628edb4139ee615780..ab3219b3fbda3794eeeded5c9002dd85d3a5eb29 100644
(file)
--- a/
arch/x86/kernel/apic/x2apic_cluster.c
+++ b/
arch/x86/kernel/apic/x2apic_cluster.c
@@
-171,8
+171,8
@@
update_clusterinfo(struct notifier_block *nfb, unsigned long action, void *hcpu)
for_each_online_cpu(cpu) {
if (x2apic_cluster(this_cpu) != x2apic_cluster(cpu))
continue;
-
__cpu_clear
(this_cpu, per_cpu(cpus_in_cluster, cpu));
-
__cpu_clear
(cpu, per_cpu(cpus_in_cluster, this_cpu));
+
cpumask_clear_cpu
(this_cpu, per_cpu(cpus_in_cluster, cpu));
+
cpumask_clear_cpu
(cpu, per_cpu(cpus_in_cluster, this_cpu));
}
free_cpumask_var(per_cpu(cpus_in_cluster, this_cpu));
free_cpumask_var(per_cpu(ipi_mask, this_cpu));