projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae7bfc
)
x86/cpu: Add a missing prototype for arch_smt_update()
author
Benjamin Thiel
<b.thiel@posteo.de>
Thu, 9 Jan 2020 12:17:23 +0000
(13:17 +0100)
committer
Borislav Petkov
<bp@suse.de>
Thu, 9 Jan 2020 13:31:53 +0000
(14:31 +0100)
.. 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
arch/x86/kernel/cpu/common.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/common.c
b/arch/x86/kernel/cpu/common.c
index 2e4d90294fe67cded7b5baa2b465c4f8008b6880..6b95f18255fa45d1954025e91f148c79ebb6c9d7 100644
(file)
--- 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>