diff options
author | Benjamin Thiel <b.thiel@posteo.de> | 2020-01-09 13:17:23 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-01-09 14:31:53 +0100 |
commit | b47a36982dbdcd9d96fdce5169af984ef5bdd110 (patch) | |
tree | b38b2a2cce2d843fb84690999849acaf1e165c4e /arch/x86/kernel/cpu/common.c | |
parent | fae7bfcc78146057ac2730719de8d5e41de19540 (diff) | |
download | linux-b47a36982dbdcd9d96fdce5169af984ef5bdd110.tar.bz2 |
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
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 1 |
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> |