x86, ipi: Clean up safe_smp_processor_id() by using the cpu_has_apic() macro helper
authorCyrill Gorcunov <gorcunov@openvz.org>
Sun, 5 Jul 2009 16:01:54 +0000 (20:01 +0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Jul 2009 13:58:34 +0000 (15:58 +0200)
commita1b4f1a5b7f57be2593a9f1fca465a529c95fc07
treed45346ce6c94dfbf54ddd51004fd5a528bfbcd8a
parent9ff80942992cd5abd0779c815f310f65b7b83860
x86, ipi: Clean up safe_smp_processor_id() by using the cpu_has_apic() macro helper

We already use a lot of cpu_has_ helpers.
Lets do here the same for consistency.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <20090705160154.GB4791@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/ipi.c