mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
arch/tile: Do not use GFP_KERNEL for dma_alloc_coherent().
Feedback from [email protected]. Signed-off-by: Chris Metcalf <[email protected]>
This commit is contained in:
parent
867e359b97
commit
482e6f8466
1 changed files with 1 additions and 2 deletions
|
|
@ -35,8 +35,7 @@ void *dma_alloc_coherent(struct device *dev,
|
|||
struct page *pg;
|
||||
dma_addr_t addr;
|
||||
|
||||
/* Set GFP_KERNEL to ensure we have memory with a kernel VA. */
|
||||
gfp |= GFP_KERNEL | __GFP_ZERO;
|
||||
gfp |= __GFP_ZERO;
|
||||
|
||||
/*
|
||||
* By forcing NUMA node 0 for 32-bit masks we ensure that the
|
||||
|
|
|
|||
Loading…
Reference in a new issue