From: Benjamin Thiel Date: Mon, 23 Mar 2020 10:59:34 +0000 (+0100) Subject: x86/cpu: Fix a -Wmissing-prototypes warning for init_ia32_feat_ctl() X-Git-Tag: v5.7-rc1~163^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e79ad863df43;p=thirdparty%2Flinux.git x86/cpu: Fix a -Wmissing-prototypes warning for init_ia32_feat_ctl() Add a missing include in order to fix -Wmissing-prototypes warning: arch/x86/kernel/cpu/feat_ctl.c:95:6: warning: no previous prototype for ‘init_ia32_feat_ctl’ [-Wmissing-prototypes] 95 | void init_ia32_feat_ctl(struct cpuinfo_x86 *c) Signed-off-by: Benjamin Thiel Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/20200323105934.26597-1-b.thiel@posteo.de --- diff --git a/arch/x86/kernel/cpu/feat_ctl.c b/arch/x86/kernel/cpu/feat_ctl.c index 0268185bef944..29a3bedabd060 100644 --- a/arch/x86/kernel/cpu/feat_ctl.c +++ b/arch/x86/kernel/cpu/feat_ctl.c @@ -5,6 +5,7 @@ #include #include #include +#include "cpu.h" #undef pr_fmt #define pr_fmt(fmt) "x86/cpu: " fmt