summaryrefslogtreecommitdiffstats
path: root/kernel/torture.c
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2022-04-21 23:28:50 +0206
committerPetr Mladek <pmladek@suse.com>2022-04-26 14:33:59 +0200
commitab406816fca009349b89cbde885daf68a8c77e33 (patch)
tree4728005e56587fa843d7b22975ba5cfce50eb011 /kernel/torture.c
parent8e274732115f63c1d09136284431b3555bd5cc56 (diff)
downloadlinux-ab406816fca009349b89cbde885daf68a8c77e33.tar.gz
linux-ab406816fca009349b89cbde885daf68a8c77e33.tar.bz2
linux-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 <john.ogness@linutronix.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20220421212250.565456-16-john.ogness@linutronix.de
Diffstat (limited to 'kernel/torture.c')
0 files changed, 0 insertions, 0 deletions