x86/apic: Eliminate cpu_mask_to_apicid() operation
authorAlexander Gordeev <agordeev@redhat.com>
Thu, 14 Jun 2012 07:49:35 +0000 (09:49 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 14 Jun 2012 10:53:13 +0000 (12:53 +0200)
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>

No differences found