[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1477460275-8266-1-git-send-email-mpe@ellerman.id.au>
Date: Wed, 26 Oct 2016 16:37:53 +1100
From: Michael Ellerman <mpe@...erman.id.au>
To: akpm@...l.org
Cc: tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
x86@...nel.org, peterz@...radead.org, jgross@...e.com,
mgorman@...hsingularity.net, richard@....at, len.brown@...el.com,
bp@...e.de, boris.ostrovsky@...cle.com, tim.c.chen@...ux.intel.com,
ak@...ux.intel.com, jolsa@...hat.com, linux-kernel@...r.kernel.org
Subject: [PATCH v2 1/3] kernel/smp: Define pr_fmt() for smp.c
This makes all our pr_xxx()'s start with "smp: ", which helps pin down
where they come from and generally looks nice. There is actually only
one pr_xxx() use in smp.c at the moment, but we will add some more in
the next commit.
Suggested-by: Borislav Petkov <bp@...e.de>
Signed-off-by: Michael Ellerman <mpe@...erman.id.au>
---
kernel/smp.c | 3 +++
1 file changed, 3 insertions(+)
v2: New in v2.
diff --git a/kernel/smp.c b/kernel/smp.c
index bba3b201668d..2d1f15d43022 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -3,6 +3,9 @@
*
* (C) Jens Axboe <jens.axboe@...cle.com> 2008
*/
+
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/irq_work.h>
#include <linux/rcupdate.h>
#include <linux/rculist.h>
--
2.7.4
Powered by blists - more mailing lists