提交 2dc27f01 编写于 作者: T Thomas Gleixner 提交者: Thomas Gleixner

x86: apply missing DMA/OOM prevention to floppy_32.h

commit 554d284b added _GPF_NORETRY
to floppy_64.h to prevent OOM killer on floppy DMA allocations.

Apply the same to the 32 bit variant.

Found during the attempt to unify the _32/_64 variants. Seperate commit
to document the resulting code change.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 106619c4
......@@ -154,7 +154,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));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册