diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2006-09-29 11:01:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 18:18:20 +0200 |
commit | e8106b941ceab68cc5ff713df7b1276484554584 (patch) | |
tree | 6d8ad676796f4469aa334589565e971932049bc4 /kernel/exit.c | |
parent | [PATCH] Ban register_filesystem(NULL); (diff) | |
download | linux-e8106b941ceab68cc5ff713df7b1276484554584.tar.xz linux-e8106b941ceab68cc5ff713df7b1276484554584.zip |
[PATCH] lockdep: core, add enable/disable_irq_irqsave/irqrestore() APIs
Introduce the disable_irq_nosync_lockdep_irqsave() and
enable_irq_lockdep_irqrestore() APIs. These are needed for NE2000; basically
NE2000 calls disable_irq and enable_irq as locking against the IRQ handler,
but both in cases where interrupts are on and off. This means that lockdep
needs to track the old state of the virtual irq flags on disable_irq, and
restore these at enable_irq time.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions