aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorJohn Ogness <[email protected]>2024-08-20 08:35:49 +0206
committerPetr Mladek <[email protected]>2024-08-21 14:56:24 +0200
commit70411bf8d22ab3d2f794f199d81d70b62d3a85fa (patch)
treed5a65ba6625f1616c88529ed2f7a83cc243882f5 /tools/testing/selftests/bpf/progs/test_autoload.c
parentc158834b223fbfab3a14855ac203b8d9cddbbefd (diff)
printk: Add is_printk_legacy_deferred()
If printk has been explicitly deferred or is called from NMI context, legacy console printing must be deferred to an irq_work context. Introduce a helper function is_printk_legacy_deferred() for a CPU to query if it must defer legacy console printing. In follow-up commits this helper will be needed at other call sites as well. Signed-off-by: John Ogness <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions