summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/floppy.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-03-25 16:30:40 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 09:10:55 -0800
commit554d284ba90bc2306c31e5363789f05c320969c3 (patch)
tree8fb67f8c7bed5c6525a060b094ff461fb4bfb104 /include/asm-x86_64/floppy.h
parent28456edeff2ef9273c55cd12e4b193208717d4cd (diff)
downloadop-kernel-dev-554d284ba90bc2306c31e5363789f05c320969c3.zip
op-kernel-dev-554d284ba90bc2306c31e5363789f05c320969c3.tar.gz
[PATCH] x86_64: Don't invoke OOM killer while allocating floppy DMA buffers
Floppy can fall back to smaller buffers, so don't do OOM killing. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/floppy.h')
-rw-r--r--include/asm-x86_64/floppy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86_64/floppy.h b/include/asm-x86_64/floppy.h
index af7ded6..52825ce 100644
--- a/include/asm-x86_64/floppy.h
+++ b/include/asm-x86_64/floppy.h
@@ -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));
}
OpenPOWER on IntegriCloud