]> Pileus Git - ~andy/linux/blobdiff - include/asm-x86_64/floppy.h
[PATCH] x86_64: Don't invoke OOM killer while allocating floppy DMA buffers
[~andy/linux] / include / asm-x86_64 / floppy.h
index af7ded63b51737f4b3874ed9601a189b3cd58465..52825ce689f21a3f897641fa042f52fd4be4b1bd 100644 (file)
@@ -155,7 +155,7 @@ static int fd_request_irq(void)
 
 static unsigned long dma_mem_alloc(unsigned long size)
 {
-       return __get_dma_pages(GFP_KERNEL,get_order(size));
+       return __get_dma_pages(GFP_KERNEL|__GFP_NORETRY,get_order(size));
 }