Commit ab40681
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]1 parent 8e27473 commit ab40681
1 file changed
+14
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
| 343 | + | |
352 | 344 | | |
353 | 345 | | |
354 | 346 | | |
| |||
2719 | 2711 | | |
2720 | 2712 | | |
2721 | 2713 | | |
2722 | | - | |
2723 | 2714 | | |
2724 | 2715 | | |
2725 | 2716 | | |
| |||
2744 | 2735 | | |
2745 | 2736 | | |
2746 | 2737 | | |
2747 | | - | |
2748 | 2738 | | |
2749 | 2739 | | |
2750 | 2740 | | |
2751 | 2741 | | |
2752 | 2742 | | |
| 2743 | + | |
| 2744 | + | |
| 2745 | + | |
| 2746 | + | |
| 2747 | + | |
| 2748 | + | |
| 2749 | + | |
| 2750 | + | |
| 2751 | + | |
| 2752 | + | |
| 2753 | + | |
| 2754 | + | |
2753 | 2755 | | |
2754 | 2756 | | |
2755 | | - | |
| 2757 | + | |
2756 | 2758 | | |
2757 | 2759 | | |
2758 | 2760 | | |
| |||
2808 | 2810 | | |
2809 | 2811 | | |
2810 | 2812 | | |
2811 | | - | |
2812 | | - | |
2813 | 2813 | | |
2814 | 2814 | | |
2815 | 2815 | | |
| |||
3127 | 3127 | | |
3128 | 3128 | | |
3129 | 3129 | | |
3130 | | - | |
3131 | 3130 | | |
3132 | 3131 | | |
3133 | 3132 | | |
| |||
0 commit comments