summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/smp_64.h
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-03-19 14:25:58 -0300
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:02 +0200
commitc70dcb74309cedfa64f0060f4a84792e873ceb53 (patch)
treeeb2d31f3a9060632e82d4b6e0b648657b4d31859 /include/asm-x86/smp_64.h
parent9d97d0da71ad6c7ceb76b4e29b02bed1ee9d4cd2 (diff)
downloadop-kernel-dev-c70dcb74309cedfa64f0060f4a84792e873ceb53.zip
op-kernel-dev-c70dcb74309cedfa64f0060f4a84792e873ceb53.tar.gz
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_64.h')
-rw-r--r--include/asm-x86/smp_64.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-x86/smp_64.h b/include/asm-x86/smp_64.h
index be870a4..fd709cb 100644
--- a/include/asm-x86/smp_64.h
+++ b/include/asm-x86/smp_64.h
@@ -22,7 +22,6 @@ extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *),
#ifdef CONFIG_SMP
#define raw_smp_processor_id() read_pda(cpunumber)
-#define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu)
#define stack_smp_processor_id() \
({ \
@@ -41,9 +40,6 @@ static inline int num_booting_cpus(void)
}
#else /* CONFIG_SMP */
-
-extern unsigned int boot_cpu_id;
-#define cpu_physical_id(cpu) boot_cpu_id
#define stack_smp_processor_id() 0
#endif /* !CONFIG_SMP */
OpenPOWER on IntegriCloud