diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-07-03 08:30:16 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-03-24 10:26:17 -0500 |
commit | a94a4c688ff6c15709ffd24c5d790c76103c11cb (patch) | |
tree | 76ba412aa6f5ee33b41ace860191395f8e452a5f /drivers/ide/hpt366.c | |
parent | ee894948b35dc75f7eda3565408599d7eb957e33 (diff) |
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/hpt366.c')
-rw-r--r-- | drivers/ide/hpt366.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/hpt366.c b/drivers/ide/hpt366.c index 58c51cddc100..d2a40595b334 100644 --- a/drivers/ide/hpt366.c +++ b/drivers/ide/hpt366.c @@ -1241,7 +1241,7 @@ static int __devinit init_dma_hpt366(ide_hwif_t *hwif, dma_old = inb(base + 2); - local_irq_save(flags); + local_irq_save_nort(flags); dma_new = dma_old; pci_read_config_byte(dev, hwif->channel ? 0x4b : 0x43, &masterdma); @@ -1252,7 +1252,7 @@ static int __devinit init_dma_hpt366(ide_hwif_t *hwif, if (dma_new != dma_old) outb(dma_new, base + 2); - local_irq_restore(flags); + local_irq_restore_nort(flags); printk(KERN_INFO " %s: BM-DMA at 0x%04lx-0x%04lx\n", hwif->name, base, base + 7); |