projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25b587f
)
powerpc/lib: Fix randconfig build failure in sstep.c
author
Michael Ellerman
<mpe@ellerman.id.au>
Fri, 18 Nov 2016 00:51:14 +0000
(11:51 +1100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Fri, 18 Nov 2016 11:40:42 +0000
(22:40 +1100)
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>
arch/powerpc/lib/sstep.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/lib/sstep.c
b/arch/powerpc/lib/sstep.c
index b64287c6793f15be5d9987ae1544181c20453923..9c78a9c102c3a9fd9bc6f89fe0d326284e9c4ab1 100644
(file)
--- a/
arch/powerpc/lib/sstep.c
+++ b/
arch/powerpc/lib/sstep.c
@@
-15,6
+15,7
@@
#include <asm/sstep.h>
#include <asm/processor.h>
#include <asm/uaccess.h>
+#include <asm/cpu_has_feature.h>
#include <asm/cputable.h>
extern char system_call_common[];