mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/cpu: Add a missing prototype for arch_smt_update()
@ 2020-01-09 12:17 Benjamin Thiel
  2020-01-09 13:41 ` [tip: x86/cleanups] " tip-bot2 for Benjamin Thiel
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Thiel @ 2020-01-09 12:17 UTC (permalink / raw)
  To: bp; +Cc: linux-kernel, x86, Benjamin Thiel

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

No functional change.

Signed-off-by: Benjamin Thiel <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 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>
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-09 13:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 12:17 [PATCH] x86/cpu: Add a missing prototype for arch_smt_update() Benjamin Thiel
2020-01-09 13:41 ` [tip: x86/cleanups] " tip-bot2 for Benjamin Thiel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®