summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/bugs.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-07-22 21:47:17 +0300
committerThomas Gleixner <tglx@linutronix.de>2019-07-25 17:11:59 +0300
commit9c92374b631d233abf5bd355cb4253d3d83d5578 (patch)
tree44148c0888f5fd4eaea54f02a37cacbfeace0819 /arch/x86/include/asm/bugs.h
parent82e574782345aa634e1544e80da85d71a9dbde19 (diff)
downloadlinux-9c92374b631d233abf5bd355cb4253d3d83d5578.tar.xz
x86/cpu: Move arch_smt_update() to a neutral place
arch_smt_update() will be used to control IPI/NMI broadcasting via the shorthand mechanism. Keeping it in the bugs file and calling the apic function from there is possible, but not really intuitive. Move it to a neutral place and invoke the bugs function from there. No functional change. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20190722105219.910317273@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/bugs.h')
-rw-r--r--arch/x86/include/asm/bugs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/bugs.h b/arch/x86/include/asm/bugs.h
index 542509b53e0f..794eb2129bc6 100644
--- a/arch/x86/include/asm/bugs.h
+++ b/arch/x86/include/asm/bugs.h
@@ -18,4 +18,6 @@ int ppro_with_ram_bug(void);
static inline int ppro_with_ram_bug(void) { return 0; }
#endif
+extern void cpu_bugs_smt_update(void);
+
#endif /* _ASM_X86_BUGS_H */