x86: surround hard_smp_processor_id in APIC_DEFINITION
authorGlauber Costa <gcosta@redhat.com>
Thu, 27 Mar 2008 17:05:56 +0000 (14:05 -0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:32 +0000 (17:41 +0200)
commitfe874b3edff43f9a74d9903eb3710e5e0511faf1
tree44198c73666a60e25233c888b438e27585aab264
parentfe176de0ffdc2dd300fbcece84434a32b482b5b1
x86: surround hard_smp_processor_id in APIC_DEFINITION

APIC_DEFINITION is not defined in x86_64, so in practice, we keep
our old code here. But as a nice side effect, the code is now
equal to smp_32.h.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/smp_64.h