summaryrefslogtreecommitdiffstats
path: root/kernel/arch/s390/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/s390/mm/init.c')
-rw-r--r--kernel/arch/s390/mm/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/arch/s390/mm/init.c b/kernel/arch/s390/mm/init.c
index c722400c7..feff9caf8 100644
--- a/kernel/arch/s390/mm/init.c
+++ b/kernel/arch/s390/mm/init.c
@@ -89,7 +89,8 @@ void __init paging_init(void)
asce_bits = _ASCE_TYPE_REGION3 | _ASCE_TABLE_LENGTH;
pgd_type = _REGION3_ENTRY_EMPTY;
}
- S390_lowcore.kernel_asce = (__pa(init_mm.pgd) & PAGE_MASK) | asce_bits;
+ init_mm.context.asce = (__pa(init_mm.pgd) & PAGE_MASK) | asce_bits;
+ S390_lowcore.kernel_asce = init_mm.context.asce;
clear_table((unsigned long *) init_mm.pgd, pgd_type,
sizeof(unsigned long)*2048);
vmem_map_init();