[PATCH] powerpc: fix non-smp build
Olof Johansson
olof at lixom.net
Thu Sep 14 04:32:39 EST 2006
Hi,
This only surfaces on CONFIG_SMP=n builds, it seems to get pulled in
through another header file for SMP builds.
(Introduced by the hvcall stats patch)
Signed-off-by: Olof Johansson <olof at lixom.net>
Index: linux-2.6/arch/powerpc/kernel/asm-offsets.c
===================================================================
--- linux-2.6.orig/arch/powerpc/kernel/asm-offsets.c
+++ linux-2.6/arch/powerpc/kernel/asm-offsets.c
@@ -43,6 +43,7 @@
#include <asm/cache.h>
#include <asm/compat.h>
#include <asm/mmu.h>
+#include <asm/hvcall.h>
#endif
#define DEFINE(sym, val) \
More information about the Linuxppc-dev
mailing list