author: Heiko Carstens <hca@linux.ibm.com> 2021-08-24 15:21:44 +0200
committer: Heiko Carstens <hca@linux.ibm.com> 2021-08-25 11:03:34 +0200
commit: c4f0e5cfde354b1d6cf2388c0920264985c6c139
parent: 8b5f08b484bd948e1bedcd5a637a4f7609f1c7c1
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/s390/mm/pageattr.c b/arch/s390/mm/pageattr.c
index 45197b71d55f..fdc86c0e4e6c 100644
--- a/arch/s390/mm/pageattr.c
+++ b/arch/s390/mm/pageattr.c
@@ -86,7 +86,7 @@ static int walk_pte_level(pmd_t *pmdp, unsigned long addr, unsigned long end,
{
pte_t *ptep, new;
- if ((flags & SET_MEMORY_4K) == SET_MEMORY_4K)
+ if (flags == SET_MEMORY_4K)
return 0;
ptep = pte_offset_kernel(pmdp, addr);
do {