aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/regression.h
diff options
context:
space:
mode:
authorSergey Senozhatsky <[email protected]>2016-03-17 21:21:27 +0000
committerLinus Torvalds <[email protected]>2016-03-17 22:09:34 +0000
commitadaf6590ee7db23c3a124fb9f213c90c15cecf96 (patch)
tree40b3a1fc2ba5871dab98e0200eae76c09a72156a /tools/testing/radix-tree/regression.h
parentprintk: set may_schedule for some of console_trylock() callers (diff)
downloadkernel-adaf6590ee7db23c3a124fb9f213c90c15cecf96.tar.gz
kernel-adaf6590ee7db23c3a124fb9f213c90c15cecf96.zip
printk: check CON_ENABLED in have_callable_console()
have_callable_console() must also test CON_ENABLED bit, not just CON_ANYTIME. We may have disabled CON_ANYTIME console so printk can wrongly assume that it's safe to call_console_drivers(). Signed-off-by: Sergey Senozhatsky <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Cc: Jan Kara <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Kyle McMartin <[email protected]> Cc: Dave Jones <[email protected]> Cc: Calvin Owens <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/regression.h')
0 files changed, 0 insertions, 0 deletions