From: Michael Ellerman <mpe@ellerman.id.au>
Date: Wed, 30 Aug 2017 07:41:29 +0000 (+1000)
Subject: powerpc/mm/radix: Add pr_fmt() to pgtable-radix.c
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd350f7121b542206e8738a317a905c109ec0f5b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git

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>
---

diff --git a/arch/powerpc/mm/pgtable-radix.c b/arch/powerpc/mm/pgtable-radix.c
index c85e963d4893..5156d2627779 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>