diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-03-19 13:25:58 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:02 -0400 |
commit | c70dcb74309cedfa64f0060f4a84792e873ceb53 (patch) | |
tree | eb2d31f3a9060632e82d4b6e0b648657b4d31859 /include/asm-x86/smp.h | |
parent | 9d97d0da71ad6c7ceb76b4e29b02bed1ee9d4cd2 (diff) |
x86: change boot_cpu_id to boot_cpu_physical_apicid
This is to match i386. The former name was cuter,
but the current is more meaningful and more general,
since cpu_id can be a logical id.
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r-- | include/asm-x86/smp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index 78ef16dd194b..2ad2f4ffe498 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h | |||
@@ -109,6 +109,9 @@ extern void prefill_possible_map(void); | |||
109 | extern unsigned long setup_trampoline(void); | 109 | extern unsigned long setup_trampoline(void); |
110 | 110 | ||
111 | void smp_store_cpu_info(int id); | 111 | void smp_store_cpu_info(int id); |
112 | #define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu) | ||
113 | #else | ||
114 | #define cpu_physical_id(cpu) boot_cpu_physical_apicid | ||
112 | #endif | 115 | #endif |
113 | 116 | ||
114 | #ifdef CONFIG_X86_32 | 117 | #ifdef CONFIG_X86_32 |