]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - drivers/ide/hpt366.c
Apply preempt_rt patch-4.9-rt1.patch.xz
[zynq/linux.git] / drivers / ide / hpt366.c
index 0ceae5cbd89a327d198a5bac595f2e40882eefab..c212e85d7f3e4b599e7011cc08052c591a370915 100644 (file)
@@ -1236,7 +1236,7 @@ static int 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);
@@ -1247,7 +1247,7 @@ static int 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);