瀏覽代碼

[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 年之前
父節點
當前提交
f04da0bc36
共有 1 個文件被更改,包括 1 次插入0 次删除
  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/compat.h>
 #include <asm/mmu.h>
+#include <asm/hvcall.h>
 #endif
 
 #define DEFINE(sym, val) \