summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-io.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-07-03 13:30:16 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-10 00:18:50 (GMT)
commit5ac85e9cb009b5ecb2ce10f3ae2de210d2826719 (patch)
tree963c293ffd913e908d4f0107c4bdbe8043a4c5d0 /drivers/ide/ide-io.c
parent7f52437b2d8542b133c73d1f3759ed3e8892a126 (diff)
downloadlinux-fsl-qoriq-5ac85e9cb009b5ecb2ce10f3ae2de210d2826719.tar.xz
ide: Do not disable interrupts for PREEMPT-RT
Use the local_irq_*_nort variants. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/ide/ide-io.c')
-rw-r--r--drivers/ide/ide-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
index 177db6d..079ae6b 100644
--- a/drivers/ide/ide-io.c
+++ b/drivers/ide/ide-io.c
@@ -659,7 +659,7 @@ void ide_timer_expiry (unsigned long data)
/* disable_irq_nosync ?? */
disable_irq(hwif->irq);
/* local CPU only, as if we were handling an interrupt */
- local_irq_disable();
+ local_irq_disable_nort();
if (hwif->polling) {
startstop = handler(drive);
} else if (drive_is_ready(drive)) {