diff options
author | Michael Ellerman <[email protected]> | 2016-10-26 16:37:53 +1100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-10-26 12:02:35 +0200 |
commit | ca7dfdbb33675151ad0854aea11340f95c38aff3 (patch) | |
tree | d4770c2a74ff7dcd92cdacdcacb64c8521ab5666 | |
parent | 07d9a380680d1c0eb51ef87ff2eab5c994949e69 (diff) |
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
-rw-r--r-- | kernel/smp.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <[email protected]> 2008 */ + +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/irq_work.h> #include <linux/rcupdate.h> #include <linux/rculist.h> |