Browse Source

[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>
Olof Johansson 18 năm trước cách đây
mục cha
commit
f04da0bc36
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      arch/powerpc/kernel/asm-offsets.c

+ 1 - 0
arch/powerpc/kernel/asm-offsets.c

@@ -43,6 +43,7 @@
 #include <asm/cache.h>
 #include <asm/cache.h>
 #include <asm/compat.h>
 #include <asm/compat.h>
 #include <asm/mmu.h>
 #include <asm/mmu.h>
+#include <asm/hvcall.h>
 #endif
 #endif
 
 
 #define DEFINE(sym, val) \
 #define DEFINE(sym, val) \