diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-11-18 11:51:14 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-11-18 22:40:42 +1100 |
commit | 5e9d0e3d9ea6f771fa9fc9dbb65b54c865702850 (patch) | |
tree | 3e0a8ef9474c94b287113d082ab77e9add119a87 /arch/powerpc/lib | |
parent | 25b587fba9a4198e7ea2e2319d62e219d1a4ca2c (diff) | |
download | talos-obmc-linux-5e9d0e3d9ea6f771fa9fc9dbb65b54c865702850.tar.gz talos-obmc-linux-5e9d0e3d9ea6f771fa9fc9dbb65b54c865702850.zip |
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/lib')
-rw-r--r-- | arch/powerpc/lib/sstep.c | 1 |
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[]; |