x86/cpu: Add a missing prototype for arch_smt_update()
PATCH 1/1 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]>
--- arch/x86/kernel/cpu/common.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/kernel/cpu/common.c +1 -0
@@ -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
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.
Signed-off-by Benjamin Thiel <[email protected]>
Signed-off-by Borislav Petkov <[email protected]>
--- arch/x86/kernel/cpu/common.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/kernel/cpu/common.c +1 -0
@@ -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>