Subject: [PATCH] powerpc: fix non-smp build

From: Olof Johansson <[email-masked]>
Date: Wed, 13 Sep 2006 13:32:39 -0500

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 <[email-masked]>

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) \