]> err.no Git - linux-2.6/commitdiff
[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 c578e7ab81732e536d64e32ddd84d532ac946436..d06f378597bb4027662ca29158cbc07a2110d348 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) \