From: He Zhe <zhe...@windriver.com> Add KBUILD_MODNAME to make prints more clear.
Signed-off-by: He Zhe <zhe...@windriver.com> Cc: a...@linux-foundation.org Cc: mho...@suse.com Cc: vba...@suse.cz Cc: pasha.tatas...@oracle.com Cc: mgor...@techsingularity.net Cc: aaron...@intel.com Cc: osalva...@suse.de Cc: iamjoonsoo....@lge.com --- v2: Split the addition of KBUILD_MODNAME out mm/page_alloc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index f34cae1..ead9556 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -14,6 +14,8 @@ * (lots of bits borrowed from Ingo Molnar & Andrew Morton) */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/stddef.h> #include <linux/mm.h> #include <linux/swap.h> -- 2.7.4