aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
authorBenjamin Thiel <b.thiel@posteo.de>2020-01-09 13:17:23 +0100
committerBorislav Petkov <bp@suse.de>2020-01-09 14:31:53 +0100
commitb47a36982dbdcd9d96fdce5169af984ef5bdd110 (patch)
treeb38b2a2cce2d843fb84690999849acaf1e165c4e /arch/x86/kernel/cpu/common.c
parentx86/nospec: Remove unused RSB_FILL_LOOPS (diff)
downloadlinux-dev-b47a36982dbdcd9d96fdce5169af984ef5bdd110.tar.xz
linux-dev-b47a36982dbdcd9d96fdce5169af984ef5bdd110.zip
x86/cpu: Add a missing prototype for arch_smt_update()
.. in order to fix a -Wmissing-prototype warning. No functional change. Signed-off-by: Benjamin Thiel <b.thiel@posteo.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20200109121723.8151-1-b.thiel@posteo.de
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r--arch/x86/kernel/cpu/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 2e4d90294fe6..6b95f18255fa 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -14,6 +14,7 @@
#include <linux/sched/mm.h>
#include <linux/sched/clock.h>
#include <linux/sched/task.h>
+#include <linux/sched/smt.h>
#include <linux/init.h>
#include <linux/kprobes.h>
#include <linux/kgdb.h>