Commit 12f1da5
printk: console_is_usable: use console_srcu_read_flags
All users of console_is_usable() are SRCU iterators. Use the
appropriate wrapper function to locklessly read the flags.
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/20221116162152.193147-18-john.ogness@linutronix.de1 parent eb7f1ed commit 12f1da5
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2709 | 2709 | | |
2710 | 2710 | | |
2711 | 2711 | | |
2712 | | - | |
| 2712 | + | |
2713 | 2713 | | |
2714 | 2714 | | |
2715 | 2715 | | |
2716 | | - | |
| 2716 | + | |
| 2717 | + | |
| 2718 | + | |
2717 | 2719 | | |
2718 | 2720 | | |
2719 | 2721 | | |
| |||
2724 | 2726 | | |
2725 | 2727 | | |
2726 | 2728 | | |
2727 | | - | |
2728 | | - | |
| 2729 | + | |
2729 | 2730 | | |
2730 | 2731 | | |
2731 | 2732 | | |
| |||
0 commit comments