diff options
author | Alexander Gordeev <agordeev@redhat.com> | 2012-06-14 07:49:35 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-06-14 10:53:13 (GMT) |
commit | a5a391561bc25898ba1a702a0c4b028aa5b11ce9 (patch) | |
tree | cffb5bfe08a132cfe8e2fe24e6cf860fd6b77284 /arch/x86/platform | |
parent | cac4afbc3da58d9e5701b34bd4c1f11ea13328d4 (diff) | |
download | linux-a5a391561bc25898ba1a702a0c4b028aa5b11ce9.tar.xz |
x86/apic: Eliminate cpu_mask_to_apicid() operation
Since there are only two locations where cpu_mask_to_apicid() is
called from, remove the operation and use only
cpu_mask_to_apicid_and() instead.
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Suggested-and-acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/20120614074935.GE3383@dhcp-26-207.brq.redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/platform')
-rw-r--r-- | arch/x86/platform/uv/uv_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/platform/uv/uv_irq.c b/arch/x86/platform/uv/uv_irq.c index dd1ff39..a67c7a6 100644 --- a/arch/x86/platform/uv/uv_irq.c +++ b/arch/x86/platform/uv/uv_irq.c @@ -144,7 +144,7 @@ arch_enable_uv_irq(char *irq_name, unsigned int irq, int cpu, int mmr_blade, if (err != 0) return err; - err = apic->cpu_mask_to_apicid(eligible_cpu, &dest); + err = apic->cpu_mask_to_apicid_and(eligible_cpu, eligible_cpu, &dest); if (err != 0) return err; |