Skip to content

Commit

Permalink
ide-tape: idetape_pc_intr() should use local_irq_enable_in_hardirq()
Browse files Browse the repository at this point in the history
Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 15, 2008
1 parent 43a2b5b commit 87429bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/ide-tape.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down

0 comments on commit 87429bd

Please sign in to comment.