diff options
Diffstat (limited to 'arch/s390/mm/init.c')
-rw-r--r-- | arch/s390/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/init.c b/arch/s390/mm/init.c index 983ec6ec0e7c..01dfe20f846d 100644 --- a/arch/s390/mm/init.c +++ b/arch/s390/mm/init.c | |||
@@ -184,7 +184,7 @@ void kernel_map_pages(struct page *page, int numpages, int enable) | |||
184 | pmd = pmd_offset(pud, address); | 184 | pmd = pmd_offset(pud, address); |
185 | pte = pte_offset_kernel(pmd, address); | 185 | pte = pte_offset_kernel(pmd, address); |
186 | if (!enable) { | 186 | if (!enable) { |
187 | ptep_invalidate(address, pte); | 187 | ptep_invalidate(&init_mm, address, pte); |
188 | continue; | 188 | continue; |
189 | } | 189 | } |
190 | *pte = mk_pte_phys(address, __pgprot(_PAGE_TYPE_RW)); | 190 | *pte = mk_pte_phys(address, __pgprot(_PAGE_TYPE_RW)); |