]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mips: Remove __GFP_HIGHMEM masking
authorVishal Moola (Oracle) <vishal.moola@gmail.com>
Fri, 7 Nov 2025 23:27:58 +0000 (15:27 -0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 1 Dec 2025 09:08:47 +0000 (10:08 +0100)
Remove unnecessary __GFP_HIGHMEM masking, which was introduced with
commit 3e14fb19ad7c ("mips: convert various functions to use ptdescs").
GFP_KERNEL doesn't contain __GFP_HIGHMEM.

Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/pgalloc.h

index 942af87f1cddba5fe92d826e0b1aba12e5c896f1..7a04381efa0b5abc2d65029c05a1c05777c74c27 100644 (file)
@@ -81,8 +81,7 @@ static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address)
 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address)
 {
        pud_t *pud;
-       struct ptdesc *ptdesc = pagetable_alloc(GFP_KERNEL & ~__GFP_HIGHMEM,
-                       PUD_TABLE_ORDER);
+       struct ptdesc *ptdesc = pagetable_alloc(GFP_KERNEL, PUD_TABLE_ORDER);
 
        if (!ptdesc)
                return NULL;