projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c2ce9
)
x86/cpu/tsx: Define pr_fmt()
author
Borislav Petkov
<bp@suse.de>
Tue, 12 Nov 2019 21:06:03 +0000
(22:06 +0100)
committer
Borislav Petkov
<bp@suse.de>
Sun, 15 Dec 2019 09:58:54 +0000
(10:58 +0100)
... so that all current and future pr_* statements in this file have the
proper prefix.
No functional changes.
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: x86@kernel.org
Link:
https://lkml.kernel.org/r/20191112221823.19677-2-bp@alien8.de
arch/x86/kernel/cpu/tsx.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/tsx.c
b/arch/x86/kernel/cpu/tsx.c
index 3e20d322bc98b636cde2747394d26fcec8783a0c..1674c8da003ea5e24b2b15c26003e36305a4d1f9 100644
(file)
--- a/
arch/x86/kernel/cpu/tsx.c
+++ b/
arch/x86/kernel/cpu/tsx.c
@@
-14,6
+14,9
@@
#include "cpu.h"
+#undef pr_fmt
+#define pr_fmt(fmt) "tsx: " fmt
+
enum tsx_ctrl_states tsx_ctrl_state __ro_after_init = TSX_CTRL_NOT_SUPPORTED;
void tsx_disable(void)
@@
-99,7
+102,7
@@
void __init tsx_init(void)
tsx_ctrl_state = x86_get_tsx_auto_mode();
} else {
tsx_ctrl_state = TSX_CTRL_DISABLE;
- pr_err("
tsx:
invalid option, defaulting to off\n");
+ pr_err("invalid option, defaulting to off\n");
}
} else {
/* tsx= not provided */