aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Thiel <[email protected]>2020-01-09 13:17:23 +0100
committerBorislav Petkov <[email protected]>2020-01-09 14:31:53 +0100
commitb47a36982dbdcd9d96fdce5169af984ef5bdd110 (patch)
treeb38b2a2cce2d843fb84690999849acaf1e165c4e
parentfae7bfcc78146057ac2730719de8d5e41de19540 (diff)
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 <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
-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>