summaryrefslogtreecommitdiffstats
path: root/arch/s390/mm
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-10-16 12:10:04 +0200
committerVasily Gorbik <gor@linux.ibm.com>2023-10-19 16:36:21 +0200
commit7bc8b8eb2b1e7b06d14bacf964fa25f74a2b87e5 (patch)
treed77644d788ebd62aa5e520ae20bee57e43665280 /arch/s390/mm
parent19ba9ead8a88ab02f3b00d5a6cab7853f03445e7 (diff)
downloadlinux-stable-7bc8b8eb2b1e7b06d14bacf964fa25f74a2b87e5.tar.gz
linux-stable-7bc8b8eb2b1e7b06d14bacf964fa25f74a2b87e5.tar.bz2
linux-stable-7bc8b8eb2b1e7b06d14bacf964fa25f74a2b87e5.zip
s390/mm: remove __GFP_HIGHMEM masking
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>
Diffstat (limited to 'arch/s390/mm')
-rw-r--r--arch/s390/mm/pgalloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/mm/pgalloc.c b/arch/s390/mm/pgalloc.c
index 61fb157029c8..a6b71bc71896 100644
--- a/arch/s390/mm/pgalloc.c
+++ b/arch/s390/mm/pgalloc.c
@@ -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;
}