summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/floppy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/floppy.h')
-rw-r--r--include/asm-i386/floppy.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/asm-i386/floppy.h b/include/asm-i386/floppy.h
index 03403045c18..359ead60b71 100644
--- a/include/asm-i386/floppy.h
+++ b/include/asm-i386/floppy.h
@@ -144,12 +144,11 @@ static int vdma_get_dma_residue(unsigned int dummy)
static int fd_request_irq(void)
{
if(can_use_virtual_dma)
- return request_irq(FLOPPY_IRQ, floppy_hardint,SA_INTERRUPT,
- "floppy", NULL);
+ return request_irq(FLOPPY_IRQ, floppy_hardint,
+ IRQF_DISABLED, "floppy", NULL);
else
return request_irq(FLOPPY_IRQ, floppy_interrupt,
- SA_INTERRUPT|SA_SAMPLE_RANDOM,
- "floppy", NULL);
+ IRQF_DISABLED, "floppy", NULL);
}