commit | 3491998dd54f6d4ef7344518fe5463b299fdf537 | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yhlu.kernel@gmail.com> | Sun Aug 24 02:01:48 2008 -0700 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Oct 16 16:53:02 2008 +0200 |
tree | 879f7d82d6c9894a0a149b3e73ce95f8763d9d2f | |
parent | 49899eacce79ce39faf531dad3e00f771eba2eb1 [diff] [blame] |
x86: add hard_smp_prossor_id with MACRO in io_apic_xx.c Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index d3ec746a..eeb6983 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c
@@ -1612,10 +1612,12 @@ cpu_set(cpu, cpu_present_map); } +#ifdef CONFIG_X86_64 int hard_smp_processor_id(void) { return read_apic_id(); } +#endif /* * Power management