projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c095ef
)
printk: add lock context annotation
author
Namhyung Kim
<namhyung@gmail.com>
Tue, 26 Oct 2010 21:22:47 +0000
(14:22 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:16 +0000
(16:52 -0700)
acquire_console_semaphore_for_printk() releases logbuf_lock but
was missing proper annotation. Add it.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/printk.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/printk.c
b/kernel/printk.c
index d18933a92819e85e441d367340538192b02b600f..6ff26151f4ffb16e56b517e2990aec1e38ba7491 100644
(file)
--- a/
kernel/printk.c
+++ b/
kernel/printk.c
@@
-647,6
+647,7
@@
static inline int can_use_console(unsigned int cpu)
* released but interrupts still disabled.
*/
static int acquire_console_semaphore_for_printk(unsigned int cpu)
+ __releases(&logbuf_lock)
{
int retval = 0;