summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2006-09-13 13:32:39 -0500
committerPaul Mackerras <paulus@samba.org>2006-09-14 10:36:11 +1000
commitf04da0bc36566ad17cf21e4ac8dbae377ca1dc75 (patch)
tree7555ffd9de1938ed533aa94452a98805508cece3 /arch/powerpc/kernel/asm-offsets.c
parentc547fc28ab3e8716076fdaf4bd0260c5d63a18f7 (diff)
[POWERPC] Fix non-smp build
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>
Diffstat (limited to 'arch/powerpc/kernel/asm-offsets.c')
-rw-r--r--arch/powerpc/kernel/asm-offsets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c
index c578e7ab8173..d06f378597bb 100644
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/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) \