Skip to contentSkip to conversation

x86/cpu: Add a missing prototype for arch_smt_update()

PATCH Applied Benjamin Thiel 2 participants 2 messages Jan 9, 2020 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/cpu: Add a missing prototype for arch_smt_update()

.. in order to fix a -Wmissing-prototype warning.

No functional change.

---
 arch/x86/kernel/cpu/common.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/kernel/cpu/common.c +1 -0
index 2e4d90294fe6..6b95f18255fa 100644
@@ -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>
Signature · 1 line
2.17.1
merge bot Applied
#1 lore raw
The following commit has been merged into the x86/cleanups branch of tip:

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     b47a36982dbdcd9d96fdce5169af984ef5bdd110
Gitweb:        https://git.kernel.org/tip/b47a36982dbdcd9d96fdce5169af984ef5bdd110
Author:        Benjamin Thiel <[email protected]>
AuthorDate:    Thu, 09 Jan 2020 13:17:23 +01:00
Committer:     Borislav Petkov <[email protected]>
CommitterDate: Thu, 09 Jan 2020 14:31:53 +01:00

x86/cpu: Add a missing prototype for arch_smt_update()

.. in order to fix a -Wmissing-prototype warning.

No functional change.

---
 arch/x86/kernel/cpu/common.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/kernel/cpu/common.c +1 -0
index 2e4d902..6b95f18 100644
@@ -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>