summaryrefslogtreecommitdiff
path: root/include/asm-x86/smp_32.h
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-03-19 20:25:58 +0300
committerIngo Molnar <mingo@elte.hu>2008-04-17 19:41:02 +0400
commitc70dcb74309cedfa64f0060f4a84792e873ceb53 (patch)
treeeb2d31f3a9060632e82d4b6e0b648657b4d31859 /include/asm-x86/smp_32.h
parent9d97d0da71ad6c7ceb76b4e29b02bed1ee9d4cd2 (diff)
downloadlinux-c70dcb74309cedfa64f0060f4a84792e873ceb53.tar.xz
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_32.h')
-rw-r--r--include/asm-x86/smp_32.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-x86/smp_32.h b/include/asm-x86/smp_32.h
index 478f5564630f..f861d0415171 100644
--- a/include/asm-x86/smp_32.h
+++ b/include/asm-x86/smp_32.h
@@ -30,8 +30,6 @@ extern void zap_low_mappings (void);
DECLARE_PER_CPU(int, cpu_number);
#define raw_smp_processor_id() (x86_read_percpu(cpu_number))
-#define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu)
-
extern int safe_smp_processor_id(void);
/* We don't mark CPUs online until __cpu_up(), so we need another measure */
@@ -41,10 +39,7 @@ static inline int num_booting_cpus(void)
}
#else /* CONFIG_SMP */
-
#define safe_smp_processor_id() 0
-#define cpu_physical_id(cpu) boot_cpu_physical_apicid
-
#endif /* !CONFIG_SMP */
#ifdef CONFIG_X86_LOCAL_APIC