diff options
author | Vineet Gupta <vgupta@kernel.org> | 2020-10-01 15:46:42 -0700 |
---|---|---|
committer | Vineet Gupta <vgupta@kernel.org> | 2021-08-26 13:43:19 -0700 |
commit | 8747ff704ac886f6ef992b1b7eadcf77d151fd3a (patch) | |
tree | 566687879eccba9a936adf38363b01d02bba5ca4 /arch/arc/mm/fault.c | |
parent | 2dde02ab6d1a725ddccc7144ff6bf5f55d37f916 (diff) | |
download | linux-8747ff704ac886f6ef992b1b7eadcf77d151fd3a.tar.bz2 |
ARC: mm: support 4 levels of page tables
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Diffstat (limited to 'arch/arc/mm/fault.c')
-rw-r--r-- | arch/arc/mm/fault.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/mm/fault.c b/arch/arc/mm/fault.c index 8da2f0ad8c69..f8994164fa36 100644 --- a/arch/arc/mm/fault.c +++ b/arch/arc/mm/fault.c @@ -46,6 +46,8 @@ noinline static int handle_kernel_vaddr_fault(unsigned long address) if (!p4d_present(*p4d_k)) goto bad_area; + set_p4d(p4d, *p4d_k); + pud = pud_offset(p4d, address); pud_k = pud_offset(p4d_k, address); if (!pud_present(*pud_k)) |