aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_printf.c
diff options
context:
space:
mode:
authorJohn Ogness <[email protected]>2022-04-21 21:22:50 +0000
committerPetr Mladek <[email protected]>2022-04-26 12:33:59 +0000
commitab406816fca009349b89cbde885daf68a8c77e33 (patch)
tree4728005e56587fa843d7b22975ba5cfce50eb011 /lib/test_printf.c
parentprintk: extend console_lock for per-console locking (diff)
downloadkernel-ab406816fca009349b89cbde885daf68a8c77e33.tar.gz
kernel-ab406816fca009349b89cbde885daf68a8c77e33.zip
printk: remove @console_locked
The static global variable @console_locked is used to help debug VT code to make sure that certain code paths are running with the console_lock held. However, this information is also available with the static global variable @console_kthreads_blocked (for locking via console_lock()), and the static global variable @console_kthreads_active (for locking via console_trylock()). Remove @console_locked and update is_console_locked() to use the alternative variables. Signed-off-by: John Ogness <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions