]> git.baikalelectronics.ru Git - kernel.git/commit
x86/bugs: Move the l1tf function and define pr_fmt properly
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 20 Jun 2018 20:42:57 +0000 (16:42 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 21 Jun 2018 06:38:34 +0000 (08:38 +0200)
commitab7fe1f12589cd36d5f5278545a92ca6b17bd7fd
tree0258f96d308d3592524164f3a23f684bb537eb09
parent3ca54ae491e63155f3b79ff9dd987bc84eb0f30e
x86/bugs: Move the l1tf function and define pr_fmt properly

The pr_warn in l1tf_select_mitigation would have used the prior pr_fmt
which was defined as "Spectre V2 : ".

Move the function to be past SSBD and also define the pr_fmt.

Fixes: 6884b46e361e ("x86/speculation/l1tf: Add sysfs reporting for l1tf")
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/bugs.c