summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Lynch <nathanl@linux.ibm.com>2019-06-27 00:15:34 -0500
committerMichael Ellerman <mpe@ellerman.id.au>2020-07-30 11:36:45 +1000
commite2b3c165f27a6bdb197b0dc86683ed36f61c5527 (patch)
tree7ac610f2eb6cdee36910957adbd852024fb33052
parentaff779515a070df7e23da9e86f1096f7d10d647e (diff)
powerpc/cacheinfo: Set pr_fmt()
Set pr_fmt() so we get a nice prefix on messages. Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190627051537.7298-2-nathanl@linux.ibm.com
-rw-r--r--arch/powerpc/kernel/cacheinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cacheinfo.c b/arch/powerpc/kernel/cacheinfo.c
index d8d4552af30a..751a4ffcd588 100644
--- a/arch/powerpc/kernel/cacheinfo.c
+++ b/arch/powerpc/kernel/cacheinfo.c
@@ -7,6 +7,8 @@
* Author: Nathan Lynch
*/
+#define pr_fmt(fmt) "cacheinfo: " fmt
+
#include <linux/cpu.h>
#include <linux/cpumask.h>
#include <linux/kernel.h>