diff options
author | Jan Kara <jack@suse.cz> | 2014-06-05 01:11:36 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-05 01:54:16 +0200 |
commit | bd8d7cf5b8410fe98eba06a9aaa90efe88815d8a (patch) | |
tree | c00e0af9d7fbed0b5e6d89d7b2b8348513103328 /MAINTAINERS | |
parent | printk: release lockbuf_lock before calling console_trylock_for_printk() (diff) | |
download | linux-bd8d7cf5b8410fe98eba06a9aaa90efe88815d8a.tar.xz linux-bd8d7cf5b8410fe98eba06a9aaa90efe88815d8a.zip |
printk: fix lockdep instrumentation of console_sem
Printk calls mutex_acquire() / mutex_release() by hand to instrument
lockdep about console_sem. However in some corner cases the
instrumentation is missing. Fix the problem by creating helper functions
for locking / unlocking console_sem which take care of lockdep
instrumentation as well.
Signed-off-by: Jan Kara <jack@suse.cz>
Reported-by: Fabio Estevam <festevam@gmail.com>
Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-By: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions