From: Mathieu Malaterre Date: Tue, 12 Mar 2019 20:18:23 +0000 (+0100) Subject: powerpc/64s: Include header file to fix a warning X-Git-Tag: v5.4-rc1~1376^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de3c83c2fd2b87cf68214eda76dfa66989d78cb6;p=platform%2Fkernel%2Flinux-rpi.git powerpc/64s: Include header file to fix a warning Make sure to include to provide the following prototype: hv_nmi_check_nonrecoverable. Remove the following warning treated as error (W=1): arch/powerpc/kernel/traps.c:393:6: error: no previous prototype for 'hv_nmi_check_nonrecoverable' Fixes: ccd477028a20 ("powerpc/64s: Fix HV NMI vs HV interrupt recoverability test") Signed-off-by: Mathieu Malaterre Reviewed-by: Christophe Leroy Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index a21200c..1fd45a8 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c @@ -71,6 +71,7 @@ #include #include #include +#include #if defined(CONFIG_DEBUGGER) || defined(CONFIG_KEXEC_CORE) int (*__debugger)(struct pt_regs *regs) __read_mostly;