summaryrefslogtreecommitdiff
path: root/linux-core/ttm/ttm_pat_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/ttm/ttm_pat_compat.c')
-rw-r--r--linux-core/ttm/ttm_pat_compat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-core/ttm/ttm_pat_compat.c b/linux-core/ttm/ttm_pat_compat.c
index c32dbb2f..41e57812 100644
--- a/linux-core/ttm/ttm_pat_compat.c
+++ b/linux-core/ttm/ttm_pat_compat.c
@@ -43,6 +43,8 @@
#include <linux/notifier.h>
#include <linux/cpu.h>
+#define TTM_PFX "[TTM] "
+
#ifndef MSR_IA32_CR_PAT
#define MSR_IA32_CR_PAT 0x0277
#endif
@@ -77,7 +79,7 @@ static void ttm_pat_enable(void)
#else
if (on_each_cpu(ttm_pat_ipi_handler, NULL, 1) != 0) {
#endif
- printk(KERN_ERR "Timed out setting up CPU PAT.\n");
+ printk(KERN_ERR TTM_PFX "Timed out setting up CPU PAT.\n");
}
}