From: Bartlomiej Zolnierkiewicz Date: Tue, 15 Jul 2008 19:21:53 +0000 (+0200) Subject: ide-tape: idetape_pc_intr() should use local_irq_enable_in_hardirq() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=87429bdc2e0701fa33a455297de01e79797b4210;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ide-tape: idetape_pc_intr() should use local_irq_enable_in_hardirq() Cc: Borislav Petkov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index a562df820777..58c5a5a98858 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c @@ -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) &&