s390/mm: remove __GFP_HIGHMEM masking
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 16 Oct 2023 10:10:04 +0000 (12:10 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 19 Oct 2023 14:36:21 +0000 (16:36 +0200)
Remove unnecessary __GFP_HIGHMEM masking, which was introduced with
commit 6326c26c1514 ("s390: convert various pgalloc functions to use
ptdescs"). Also remove a whitespace change which was introduced with
the same commit.

Link: https://lore.kernel.org/all/CAOzc2px-SFSnmjcPriiB3cm1fNj3+YC8S0VSp4t1QvDR0f4E2A@mail.gmail.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/mm/pgalloc.c

index 61fb157029c8ae09a42b246ee99a1fcbb6d789a7..a6b71bc718969e4c0999fa8ef4cb61beae339cf4 100644 (file)
@@ -488,11 +488,10 @@ static unsigned long *base_crst_alloc(unsigned long val)
        unsigned long *table;
        struct ptdesc *ptdesc;
 
-       ptdesc = pagetable_alloc(GFP_KERNEL & ~__GFP_HIGHMEM, CRST_ALLOC_ORDER);
+       ptdesc = pagetable_alloc(GFP_KERNEL, CRST_ALLOC_ORDER);
        if (!ptdesc)
                return NULL;
        table = ptdesc_address(ptdesc);
-
        crst_table_init(table, val);
        return table;
 }