[tip: x86/cleanups] x86/cpu: Add a missing prototype for arch_smt_update()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
AuthorDate:    Thu, 09 Jan 2020 13:17:23 +01:00
Committer:     Borislav Petkov <bp@xxxxxxx>
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@xxxxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Link: https://lkml.kernel.org/r/20200109121723.8151-1-b.thiel@xxxxxxxxx
---
 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>



[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux