projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d9a38
)
kernel/smp: Define pr_fmt() for smp.c
author
Michael Ellerman
<
[email protected]
>
Wed, 26 Oct 2016 05:37:53 +0000
(16:37 +1100)
committer
Thomas Gleixner
<
[email protected]
>
Wed, 26 Oct 2016 10:02:35 +0000
(12:02 +0200)
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]
>
kernel/smp.c
patch
|
blob
|
history
diff --git
a/kernel/smp.c
b/kernel/smp.c
index bba3b201668df7cac3e393564187f74293e71722..2d1f15d43022754a2b269a679b39940ceac43d0e 100644
(file)
--- 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>