X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ppc%2Ffloppy.h;fp=include%2Fasm-ppc%2Ffloppy.h;h=8ccd4a276fe99bf68967298edeed96e5a9aa55ed;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=d3963ca79ad88a76c358a86c2a13c92969a977f6;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/asm-ppc/floppy.h b/include/asm-ppc/floppy.h index d3963ca79..8ccd4a276 100644 --- a/include/asm-ppc/floppy.h +++ b/include/asm-ppc/floppy.h @@ -96,11 +96,13 @@ 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, - IRQF_DISABLED, "floppy", NULL); + return request_irq(FLOPPY_IRQ, floppy_hardint,SA_INTERRUPT, + "floppy", NULL); else return request_irq(FLOPPY_IRQ, floppy_interrupt, - IRQF_DISABLED, "floppy", NULL); + SA_INTERRUPT|SA_SAMPLE_RANDOM, + "floppy", NULL); + } static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io)