提交 5e9d0e3d 编写于 作者: M Michael Ellerman

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: NMichael Ellerman <mpe@ellerman.id.au>
上级 25b587fb
...@@ -15,6 +15,7 @@ ...@@ -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[];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册