[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <158496173800.28353.4422989867880905481.tip-bot2@tip-bot2>
Date: Mon, 23 Mar 2020 11:08:58 -0000
From: "tip-bot2 for Benjamin Thiel" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Benjamin Thiel <b.thiel@...teo.de>, Borislav Petkov <bp@...e.de>,
x86 <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [tip: x86/cleanups] x86/cpu: Fix a -Wmissing-prototypes warning for
init_ia32_feat_ctl()
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 0e79ad863df43b01090ae18c97de5c3787f069c6
Gitweb: https://git.kernel.org/tip/0e79ad863df43b01090ae18c97de5c3787f069c6
Author: Benjamin Thiel <b.thiel@...teo.de>
AuthorDate: Mon, 23 Mar 2020 11:59:34 +01:00
Committer: Borislav Petkov <bp@...e.de>
CommitterDate: Mon, 23 Mar 2020 12:01:59 +01:00
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 <b.thiel@...teo.de>
Signed-off-by: Borislav Petkov <bp@...e.de>
Link: https://lkml.kernel.org/r/20200323105934.26597-1-b.thiel@posteo.de
---
arch/x86/kernel/cpu/feat_ctl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/cpu/feat_ctl.c b/arch/x86/kernel/cpu/feat_ctl.c
index 0268185..29a3bed 100644
--- a/arch/x86/kernel/cpu/feat_ctl.c
+++ b/arch/x86/kernel/cpu/feat_ctl.c
@@ -5,6 +5,7 @@
#include <asm/msr-index.h>
#include <asm/processor.h>
#include <asm/vmx.h>
+#include "cpu.h"
#undef pr_fmt
#define pr_fmt(fmt) "x86/cpu: " fmt
Powered by blists - more mailing lists