ide-tape: idetape_pc_intr() should use local_irq_enable_in_hardirq()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:53 +0000 (21:21 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:53 +0000 (21:21 +0200)
Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-tape.c

index a562df820777c66afe2eb6a7667d3ccb4375c1b3..58c5a5a98858ad3a5354e5cfff0060d8ce005351 100644 (file)
@@ -794,7 +794,7 @@ static ide_startstop_t idetape_pc_intr(ide_drive_t *drive)
                                " transferred\n", pc->xferred);
 
                pc->flags &= ~PC_FLAG_DMA_IN_PROGRESS;
-               local_irq_enable();
+               local_irq_enable_in_hardirq();
 
 #if SIMULATE_ERRORS
                if ((pc->c[0] == WRITE_6 || pc->c[0] == READ_6) &&