瀏覽代碼

powerpc/lib: Fix randconfig build failure in sstep.c

Under some configs we need to explicitly include cpu_has_feature.h,
otherwise we fail with:

  arch/powerpc/lib/sstep.c:1992:7: error: implicit declaration of function 'cpu_has_feature'

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Michael Ellerman 8 年之前
父節點
當前提交
5e9d0e3d9e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/powerpc/lib/sstep.c

+ 1 - 0
arch/powerpc/lib/sstep.c

@@ -15,6 +15,7 @@
 #include <asm/sstep.h>
 #include <asm/sstep.h>
 #include <asm/processor.h>
 #include <asm/processor.h>
 #include <asm/uaccess.h>
 #include <asm/uaccess.h>
+#include <asm/cpu_has_feature.h>
 #include <asm/cputable.h>
 #include <asm/cputable.h>
 
 
 extern char system_call_common[];
 extern char system_call_common[];