powerpc/mm/radix: Add pr_fmt() to pgtable-radix.c
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 30 Aug 2017 07:41:29 +0000 (17:41 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 31 Aug 2017 04:26:41 +0000 (14:26 +1000)
Make the printks look a bit nicer by adding a prefix.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pgtable-radix.c

index c85e963d48939a4098cd4e42600029d5b4875a78..5156d26277793daf921fefe4be33d0b4057f1b9b 100644 (file)
@@ -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>