ppc64 2.6.14-rc5 compile error (boot_cpuid)

Dave Hansen haveblue at us.ibm.com
Thu Oct 20 22:06:18 EST 2005


I swear I've seen this before, but I thought it was fixed. 

arch/ppc64/kernel/time.c: In function `timer_interrupt':
arch/ppc64/kernel/time.c:349: error: `boot_cpuid' undeclared (first use in this function)
arch/ppc64/kernel/time.c:349: error: (Each undeclared identifier is reported only once
arch/ppc64/kernel/time.c:349: error: for each function it appears in.)

Config is here:

http://www.sr71.net/patches/2.6.14/2.6.14-rc2-git8-mhp1/configs/config-ppc64-abat


Signed-off-by: Dave Hansen <haveblue at us.ibm.com>
---

 memhotplug-dave/arch/ppc64/kernel/pSeries_setup.c |    1 +
 memhotplug-dave/arch/ppc64/kernel/time.c          |    1 +
 2 files changed, 2 insertions(+)

diff -puN arch/ppc64/kernel/pSeries_setup.c~no-found-boot_cpuid arch/ppc64/kernel/pSeries_setup.c
--- memhotplug/arch/ppc64/kernel/pSeries_setup.c~no-found-boot_cpuid	2005-09-30 12:37:50.000000000 -0700
+++ memhotplug-dave/arch/ppc64/kernel/pSeries_setup.c	2005-09-30 12:37:50.000000000 -0700
@@ -56,6 +56,7 @@
 #include <asm/dma.h>
 #include <asm/machdep.h>
 #include <asm/irq.h>
+#include <asm/smp.h>
 #include <asm/time.h>
 #include <asm/nvram.h>
 #include <asm/plpar_wrappers.h>
diff -puN arch/ppc64/kernel/time.c~no-found-boot_cpuid arch/ppc64/kernel/time.c
--- memhotplug/arch/ppc64/kernel/time.c~no-found-boot_cpuid	2005-09-30 12:37:50.000000000 -0700
+++ memhotplug-dave/arch/ppc64/kernel/time.c	2005-09-30 12:37:50.000000000 -0700
@@ -65,6 +65,7 @@
 #include <asm/ppcdebug.h>
 #include <asm/prom.h>
 #include <asm/sections.h>
+#include <asm/smp.h>
 #include <asm/systemcfg.h>
 #include <asm/firmware.h>
 
diff -L sr -puN /dev/null /dev/null
_


-- Dave




More information about the Linuxppc64-dev mailing list