Explorar el Código

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>
Michael Ellerman hace 8 años
padre
commit
bd350f7121
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      arch/powerpc/mm/pgtable-radix.c

+ 4 - 0
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>