projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: s390: pv: fix index value of replaced ASCE
[platform/kernel/linux-starfive.git]
/
arch
/
s390
/
mm
/
gmap.c
diff --git
a/arch/s390/mm/gmap.c
b/arch/s390/mm/gmap.c
index
02d15c8
..
243f673
100644
(file)
--- a/
arch/s390/mm/gmap.c
+++ b/
arch/s390/mm/gmap.c
@@
-2843,6
+2843,7
@@
int s390_replace_asce(struct gmap *gmap)
page = alloc_pages(GFP_KERNEL_ACCOUNT, CRST_ALLOC_ORDER);
if (!page)
return -ENOMEM;
+ page->index = 0;
table = page_to_virt(page);
memcpy(table, gmap->table, 1UL << (CRST_ALLOC_ORDER + PAGE_SHIFT));