Skip to contentSkip to conversation

POWERPC/PPC64: Fix CONFIG_SMP=n build for ppc64

PATCH New Olof Johansson 1 participant 1 message Nov 3, 2005 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 POWERPC/PPC64: Fix CONFIG_SMP=n build for ppc64

Hi,

Below is against 2.6.14-git5:

---

Two CONFIG_SMP=n build fixes due to missing <asm/smp.h> includes.

arch/ppc64/kernel/sysfs.c +1 -0
Index: 2.6/arch/ppc64/kernel/sysfs.c
===================================================================
@@ -20,6 +20,7 @@
 #include <asm/paca.h>
 #include <asm/lppaca.h>
 #include <asm/machdep.h>
+#include <asm/smp.h>
 
 static DEFINE_PER_CPU(struct cpu, cpu_devices);
 
arch/powerpc/kernel/time.c +1 -0
Index: 2.6/arch/powerpc/kernel/time.c
===================================================================
@@ -69,6 +69,7 @@
 #include <asm/iSeries/ItLpQueue.h>
 #include <asm/iSeries/HvCallXm.h>
 #endif
+#include <asm/smp.h>
 
 /* keep track of when we need to update the rtc */
 time_t last_rtc_update;