diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-09 22:13:45 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-09 23:24:40 -0400 |
commit | fdaf3a6539d6b9b6a7240c3b00bd81c813b2760d (patch) | |
tree | 63931536c98a32b83a6584f79aabd6b2c16a64b3 | |
parent | 6a4bd8d1412a6cd72b65d7c86a2c08e9ec1d6b97 (diff) |
x86: fix more deprecated cpu function usage.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r-- | arch/x86/kernel/apic/x2apic_cluster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/x2apic_cluster.c b/arch/x86/kernel/apic/x2apic_cluster.c index d9d0bd2faaf4..ab3219b3fbda 100644 --- 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) | |||
171 | for_each_online_cpu(cpu) { | 171 | for_each_online_cpu(cpu) { |
172 | if (x2apic_cluster(this_cpu) != x2apic_cluster(cpu)) | 172 | if (x2apic_cluster(this_cpu) != x2apic_cluster(cpu)) |
173 | continue; | 173 | continue; |
174 | __cpu_clear(this_cpu, per_cpu(cpus_in_cluster, cpu)); | 174 | cpumask_clear_cpu(this_cpu, per_cpu(cpus_in_cluster, cpu)); |
175 | __cpu_clear(cpu, per_cpu(cpus_in_cluster, this_cpu)); | 175 | cpumask_clear_cpu(cpu, per_cpu(cpus_in_cluster, this_cpu)); |
176 | } | 176 | } |
177 | free_cpumask_var(per_cpu(cpus_in_cluster, this_cpu)); | 177 | free_cpumask_var(per_cpu(cpus_in_cluster, this_cpu)); |
178 | free_cpumask_var(per_cpu(ipi_mask, this_cpu)); | 178 | free_cpumask_var(per_cpu(ipi_mask, this_cpu)); |