From: Olof Johansson Date: Mon, 7 Nov 2005 08:57:55 +0000 (-0800) Subject: [PATCH] POWERPC/PPC64: Fix CONFIG_SMP=n build for ppc64 X-Git-Tag: v2.6.15-rc1~710 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=732ee21f2894819781766a0cd88e32bdd630d11e;p=linux-2.6 [PATCH] POWERPC/PPC64: Fix CONFIG_SMP=n build for ppc64 Two CONFIG_SMP=n build fixes due to missing includes. Signed-off-by: Olof Johansson Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index 6996a593dc..b1c89bc4bf 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c @@ -69,6 +69,7 @@ #include #include #endif +#include /* keep track of when we need to update the rtc */ time_t last_rtc_update; diff --git a/arch/ppc64/kernel/sysfs.c b/arch/ppc64/kernel/sysfs.c index 6654b35097..e99ec62c2c 100644 --- a/arch/ppc64/kernel/sysfs.c +++ b/arch/ppc64/kernel/sysfs.c @@ -20,6 +20,7 @@ #include #include #include +#include static DEFINE_PER_CPU(struct cpu, cpu_devices);