mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6c095efd82
commit
8155c02a44
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue