From 5e9d0e3d9ea6f771fa9fc9dbb65b54c865702850 Mon Sep 17 00:00:00 2001 From: Michael Ellerman Date: Fri, 18 Nov 2016 11:51:14 +1100 Subject: [PATCH] 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 --- arch/powerpc/lib/sstep.c | 1 + 1 file changed, 1 insertion(+) 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 #include #include +#include #include extern char system_call_common[]; -- 2.30.2