"A. Sverdlin" <alexander.sverdlin@xxxxxxxxxxx> writes: > From: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxxxx> > > Correct the example in 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. > > Link: https://lore.kernel.org/lkml/87k02wbs2n.ffs@tglx/ > Reviewed-by: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> > Signed-off-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxxxx> > --- > Changelog: > v2: Dropped changes to manage.c because of already applied > https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/kernel-irq-managec-disable_irq-might-sleep.patch > > Documentation/kernel-hacking/locking.rst | 4 ++-- > Documentation/translations/it_IT/kernel-hacking/locking.rst | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Applied, thanks. jon