* [PATCH] POWERPC/PPC64: Fix CONFIG_SMP=n build for ppc64
@ 2005-11-03 19:49 Olof Johansson
0 siblings, 0 replies; only message in thread
From: Olof Johansson @ 2005-11-03 19:49 UTC (permalink / raw)
To: linuxppc64-dev, linuxppc-dev; +Cc: akpm
Hi,
Below is against 2.6.14-git5:
---
Two CONFIG_SMP=n build fixes due to missing <asm/smp.h> includes.
Signed-off-by: Olof Johansson <olof@lixom.net>
Index: 2.6/arch/ppc64/kernel/sysfs.c
===================================================================
--- 2.6.orig/arch/ppc64/kernel/sysfs.c 2005-11-03 10:33:42.000000000 -0800
+++ 2.6/arch/ppc64/kernel/sysfs.c 2005-11-03 10:33:51.000000000 -0800
@@ -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);
Index: 2.6/arch/powerpc/kernel/time.c
===================================================================
--- 2.6.orig/arch/powerpc/kernel/time.c 2005-11-03 10:45:43.000000000 -0800
+++ 2.6/arch/powerpc/kernel/time.c 2005-11-03 10:49:52.000000000 -0800
@@ -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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-03 19:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-03 19:49 [PATCH] POWERPC/PPC64: Fix CONFIG_SMP=n build for ppc64 Olof Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).