diff options
author | Alexander Sverdlin <[email protected]> | 2022-12-12 17:37:15 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2023-01-11 19:45:26 +0100 |
commit | 379af13b31fa8a36ad4abd59a5c511f25c5d4d42 (patch) | |
tree | ef5e8b47f5ec5874b752d097b3ac766a977fae6d /scripts/gdb/linux/modules.py | |
parent | 17549b0f184d870f2cfa4e5cfa79f4c4905ed757 (diff) |
docs: locking: Discourage from calling disable_irq() in atomic
Correct the example in the documentation so that disable_irq() is not being
called in atomic context.
disable_irq() calls sleeping synchronize_irq(), it's not allowed to call
them in atomic context.
Signed-off-by: Alexander Sverdlin <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Manfred Spraul <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/lkml/87k02wbs2n.ffs@tglx/
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions