mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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]