Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] lockdep: annotate idescsi_pc_intr()

idescsi_pc_intr() uses local_irq_enable() in IRQ context: annotate it.

(this has no effect on kernels with lockdep disabled. On kernels with lockdep
enabled this means that we wont actually disable interrupts, and the warning
message will go away as well.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Ingo Molnar and committed by
Linus Torvalds
36e8e578 4e54bdaa

+1 -1
+1 -1
drivers/scsi/ide-scsi.c
··· 517 517 /* No more interrupts */ 518 518 if (test_bit(IDESCSI_LOG_CMD, &scsi->log)) 519 519 printk (KERN_INFO "Packet command completed, %d bytes transferred\n", pc->actually_transferred); 520 - local_irq_enable(); 520 + local_irq_enable_in_hardirq(); 521 521 if (status.b.check) 522 522 rq->errors++; 523 523 idescsi_end_request (drive, 1, 0);