Messages in this thread Patch in this message | | | Date | Thu, 09 Jan 2020 13:41:40 -0000 | From | "tip-bot2 for Benjamin Thiel" <> | Subject | [tip: x86/cleanups] x86/cpu: Add a missing prototype for arch_smt_update() |
| |
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 <b.thiel@posteo.de> AuthorDate: Thu, 09 Jan 2020 13:17:23 +01:00 Committer: Borislav Petkov <bp@suse.de> 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 <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 | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 2e4d902..6b95f18 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>
| |