Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1509021
| From | tip-bot for Michael Ellerman <tipbot@zytor.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [tip:core/smp] kernel/smp: Define pr_fmt() for smp.c |
| Date | 2016-10-26 12:10 +0200 |
| Message-ID | <swtjI-2by-5@gated-at.bofh.it> (permalink) |
| References | <swp6p-7GM-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Commit-ID: ca7dfdbb33675151ad0854aea11340f95c38aff3 Gitweb: http://git.kernel.org/tip/ca7dfdbb33675151ad0854aea11340f95c38aff3 Author: Michael Ellerman <mpe@ellerman.id.au> AuthorDate: Wed, 26 Oct 2016 16:37:53 +1100 Committer: Thomas Gleixner <tglx@linutronix.de> CommitDate: Wed, 26 Oct 2016 12:02:35 +0200 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@suse.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Cc: akpm@osdl.org Cc: jgross@suse.com Cc: ak@linux.intel.com Cc: tim.c.chen@linux.intel.com Cc: len.brown@intel.com Cc: peterz@infradead.org Cc: richard@nod.at Cc: jolsa@redhat.com Cc: boris.ostrovsky@oracle.com Cc: mgorman@techsingularity.net Link: http://lkml.kernel.org/r/1477460275-8266-1-git-send-email-mpe@ellerman.id.au Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- kernel/smp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/smp.c b/kernel/smp.c index bba3b20..2d1f15d 100644 --- a/kernel/smp.c +++ b/kernel/smp.c @@ -3,6 +3,9 @@ * * (C) Jens Axboe <jens.axboe@oracle.com> 2008 */ + +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/irq_work.h> #include <linux/rcupdate.h> #include <linux/rculist.h>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 1/3] kernel/smp: Define pr_fmt() for smp.c Michael Ellerman <mpe@ellerman.id.au> - 2016-10-26 07:40 +0200 [tip:core/smp] kernel/smp: Define pr_fmt() for smp.c tip-bot for Michael Ellerman <tipbot@zytor.com> - 2016-10-26 12:10 +0200
csiph-web