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
This commit is contained in:
Nathan Lynch 2019-06-27 00:15:34 -05:00 committed by Michael Ellerman
parent aff779515a
commit e2b3c165f2
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@
* Author: Nathan Lynch * Author: Nathan Lynch
*/ */
#define pr_fmt(fmt) "cacheinfo: " fmt
#include <linux/cpu.h> #include <linux/cpu.h>
#include <linux/cpumask.h> #include <linux/cpumask.h>
#include <linux/kernel.h> #include <linux/kernel.h>