projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
074ff04
)
s390/vmem: remove redundant check
author
Alexander Gordeev
<agordeev@linux.ibm.com>
Tue, 10 Nov 2020 09:36:21 +0000
(10:36 +0100)
committer
Heiko Carstens
<hca@linux.ibm.com>
Fri, 20 Nov 2020 18:19:12 +0000
(19:19 +0100)
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/mm/vmem.c
patch
|
blob
|
history
diff --git
a/arch/s390/mm/vmem.c
b/arch/s390/mm/vmem.c
index b239f2ba93b092c8485a9cb101559917696aba20..56ab9bb770f3adbaeb5a8996f1ac6699f3949e90 100644
(file)
--- a/
arch/s390/mm/vmem.c
+++ b/
arch/s390/mm/vmem.c
@@
-223,7
+223,7
@@
static int __ref modify_pmd_table(pud_t *pud, unsigned long addr,
if (!add) {
if (pmd_none(*pmd))
continue;
- if (pmd_large(*pmd)
&& !add
) {
+ if (pmd_large(*pmd)) {
if (IS_ALIGNED(addr, PMD_SIZE) &&
IS_ALIGNED(next, PMD_SIZE)) {
if (!direct)