printk: add lock context annotation
authorNamhyung Kim <namhyung@gmail.com>
Tue, 26 Oct 2010 21:22:47 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:16 +0000 (16:52 -0700)
commit8155c02a44a95562e1ae0999360eb31288d7195a
tree65a5d03b8ce866b149d50f9a9d6b798fbeae715b
parent6c095efd82e8f6a98515426a733110f91cf0a709
printk: add lock context annotation

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