[PATCH] fix 2.6.14-rc2-git8 compile errors
Dave Hansen
haveblue at us.ibm.com
Sat Oct 1 04:23:05 EST 2005
I've been having some problems compiling the latest git snapshot. Seems
to be some missing includes, which keeps it from finding stuff like
boot_cpuid. But, this is after applying Anton's discontig removal
patches as well, so it might be just a side-effect of those.
Here's my config:
http://www.sr71.net/patches/2.6.14/2.6.14-rc1-mhp1/configs/config-ppc64-abat
---
arch/ppc64/kernel/pSeries_lpar.c | 0
memhotplug-dave/arch/ppc64/kernel/pSeries_setup.c | 1 +
memhotplug-dave/arch/ppc64/kernel/time.c | 1 +
3 files changed, 2 insertions(+)
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 11:00:40.000000000 -0700
+++ memhotplug-dave/arch/ppc64/kernel/time.c 2005-09-30 11:00:40.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 -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 11:00:40.000000000 -0700
+++ memhotplug-dave/arch/ppc64/kernel/pSeries_setup.c 2005-09-30 11:00:40.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>
More information about the Linuxppc64-dev
mailing list