[POWERPC] Fix non-smp build
authorOlof Johansson <olof@lixom.net>
Wed, 13 Sep 2006 18:32:39 +0000 (13:32 -0500)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Sep 2006 00:36:11 +0000 (10:36 +1000)
This fixes a compile error that only surfaces on CONFIG_SMP=n builds;
<asm/hvcall.h> seems to get pulled in through another header file for
SMP builds.  This problem was introduced by the hvcall stats patch.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/asm-offsets.c

index c578e7a..d06f378 100644 (file)
@@ -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) \