[PATCH 08/40] ide-tape: idetape_pc_intr() should use local_irq_enable_in_hardirq()

From: Bartlomiej Zolnierkiewicz
Date: Sun May 18 2008 - 14:41:18 EST


Cc: Borislav Petkov <petkovbb@xxxxxxxxx>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
---
drivers/ide/ide-tape.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/drivers/ide/ide-tape.c
===================================================================
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -794,7 +794,7 @@ static ide_startstop_t idetape_pc_intr(i
" 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) &&
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/