From 68c4bc543e950c1372731a329a47cc6ed9562ac3 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Fri, 10 Oct 2008 09:44:33 +0000 Subject: [PATCH] --- yaml --- r: 114613 b: refs/heads/master c: 78b5b626fa9048337530cc3ba4ceb9e4ee96a386 h: refs/heads/master i: 114611: 2e6e76b6cdb7ad5b639df7c1a34bf737fe306dfe v: v3 --- [refs] | 2 +- trunk/arch/powerpc/include/asm/smp.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 1649b9495c47..bc977d46692d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6070bf6afe4c4232ec1e04fa16c056758b2e681b +refs/heads/master: 78b5b626fa9048337530cc3ba4ceb9e4ee96a386 diff --git a/trunk/arch/powerpc/include/asm/smp.h b/trunk/arch/powerpc/include/asm/smp.h index c092f84302fd..1866cec4f967 100644 --- a/trunk/arch/powerpc/include/asm/smp.h +++ b/trunk/arch/powerpc/include/asm/smp.h @@ -93,7 +93,7 @@ extern void __cpu_die(unsigned int cpu); #else /* for UP */ -#define hard_smp_processor_id() 0 +#define hard_smp_processor_id() get_hard_smp_processor_id(0) #define smp_setup_cpu_maps() #endif /* CONFIG_SMP */ @@ -122,6 +122,7 @@ static inline int get_hard_smp_processor_id(int cpu) static inline void set_hard_smp_processor_id(int cpu, int phys) { + boot_cpuid_phys = phys; } #endif /* !CONFIG_SMP */ #endif /* !CONFIG_PPC64 */