Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce5c2d2c authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ad804a0b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -562,7 +562,7 @@ static void *__iommu_alloc_attrs(struct device *dev, size_t size,
	 */
	 */
	gfp |= __GFP_ZERO;
	gfp |= __GFP_ZERO;


	if (gfp & __GFP_WAIT) {
	if (gfpflags_allow_blocking(gfp)) {
		struct page **pages;
		struct page **pages;
		pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL, coherent);
		pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL, coherent);