Commit cd492197 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Jeff Garzik

[PATCH] ide: fix drive->unmask handling for taskfile PIO

parent 17959b7f
......@@ -954,6 +954,9 @@ ide_startstop_t pre_task_out_intr (ide_drive_t *drive, struct request *rq)
return startstop;
}
if (!drive->unmask)
local_irq_disable();
return task_out_intr(drive);
}
EXPORT_SYMBOL(pre_task_out_intr);
......@@ -1030,6 +1033,9 @@ ide_startstop_t pre_task_mulout_intr (ide_drive_t *drive, struct request *rq)
return startstop;
}
if (!drive->unmask)
local_irq_disable();
return task_mulout_intr(drive);
}
EXPORT_SYMBOL(pre_task_mulout_intr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment