mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
arm64: fixup for mm renames
__GFP_WAIT was renamed for __GFP_RECLAIM and the gfpflags_allow_blocking() helper was added. Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
ad804a0b2a
commit
ce5c2d2c25
@ -562,7 +562,7 @@ static void *__iommu_alloc_attrs(struct device *dev, size_t size,
|
||||
*/
|
||||
gfp |= __GFP_ZERO;
|
||||
|
||||
if (gfp & __GFP_WAIT) {
|
||||
if (gfpflags_allow_blocking(gfp)) {
|
||||
struct page **pages;
|
||||
pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL, coherent);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user