summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/mce/therm_throt.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2018-12-05 21:05:13 +0100
committerBorislav Petkov <bp@suse.de>2018-12-06 12:04:52 +0100
commit3bfaf95cb1fe81872df884956c704469e68a5bee (patch)
tree6d4d88383bb311f34e92dc71ad733277f0ccc320 /arch/x86/kernel/cpu/mce/therm_throt.c
parent21afaf181362b4aeb5be72705d2914673b336149 (diff)
x86/mce: Unify pr_* prefix
Move the pr_fmt prefix to internal.h and include it everywhere. This way, all pr_* printed strings will be prepended with "mce: ". No functional changes. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Tony Luck <tony.luck@intel.com> Link: https://lkml.kernel.org/r/20181205200913.GR29510@zn.tnic
Diffstat (limited to 'arch/x86/kernel/cpu/mce/therm_throt.c')
-rw-r--r--arch/x86/kernel/cpu/mce/therm_throt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/mce/therm_throt.c b/arch/x86/kernel/cpu/mce/therm_throt.c
index 2da67b70ba98..df01ff8513a5 100644
--- a/arch/x86/kernel/cpu/mce/therm_throt.c
+++ b/arch/x86/kernel/cpu/mce/therm_throt.c
@@ -30,6 +30,8 @@
#include <asm/msr.h>
#include <asm/trace/irq_vectors.h>
+#include "internal.h"
+
/* How long to wait between reporting thermal events */
#define CHECK_INTERVAL (300 * HZ)