summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-08-30 17:41:29 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-31 14:26:41 +1000
commitbd350f7121b542206e8738a317a905c109ec0f5b (patch)
tree2a97c8a63126d83a73d2ee551601d9a2233ac52a /arch/powerpc/mm
parentf9df74dfce542ad2aea2e601ef1a1281e01fad6a (diff)
downloadop-kernel-dev-bd350f7121b542206e8738a317a905c109ec0f5b.zip
op-kernel-dev-bd350f7121b542206e8738a317a905c109ec0f5b.tar.gz
powerpc/mm/radix: Add pr_fmt() to pgtable-radix.c
Make the printks look a bit nicer by adding a prefix. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r--arch/powerpc/mm/pgtable-radix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/mm/pgtable-radix.c b/arch/powerpc/mm/pgtable-radix.c
index c85e963..5156d26 100644
--- a/arch/powerpc/mm/pgtable-radix.c
+++ b/arch/powerpc/mm/pgtable-radix.c
@@ -8,6 +8,10 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
+
+#define pr_fmt(fmt) "radix-mmu: " fmt
+
+#include <linux/kernel.h>
#include <linux/sched/mm.h>
#include <linux/memblock.h>
#include <linux/of_fdt.h>
OpenPOWER on IntegriCloud