Skip to content

Commit 5850847

Browse files
VMoolatsbogend
authored andcommitted
mips: Remove __GFP_HIGHMEM masking
Remove unnecessary __GFP_HIGHMEM masking, which was introduced with commit 3e14fb1 ("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>
1 parent 36dac9a commit 5850847

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/mips/include/asm/pgalloc.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address)
8181
static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address)
8282
{
8383
pud_t *pud;
84-
struct ptdesc *ptdesc = pagetable_alloc(GFP_KERNEL & ~__GFP_HIGHMEM,
85-
PUD_TABLE_ORDER);
84+
struct ptdesc *ptdesc = pagetable_alloc(GFP_KERNEL, PUD_TABLE_ORDER);
8685

8786
if (!ptdesc)
8887
return NULL;

0 commit comments

Comments
 (0)