summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-11-18 03:51:14 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-11-18 14:40:42 +0300
commit5e9d0e3d9ea6f771fa9fc9dbb65b54c865702850 (patch)
tree3e0a8ef9474c94b287113d082ab77e9add119a87 /arch/powerpc
parent25b587fba9a4198e7ea2e2319d62e219d1a4ca2c (diff)
downloadlinux-5e9d0e3d9ea6f771fa9fc9dbb65b54c865702850.tar.xz
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/lib/sstep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c
index b64287c6793f..9c78a9c102c3 100644
--- 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[];