Skip to content
Commit 6d173ff0 authored by Xiaoguang Xing's avatar Xiaoguang Xing
Browse files

riscv: mm: Use PMD_SIZE as map size for linear mapping



To avoid pagefault when machine_kexec() call kexec_method
that is control_code_buffer.

When uses PUD_SIZE as map size, __set_memory only set init_mm
So it casues other task page fault when uses the pud entry
modified by init_mm.

Signed-off-by: default avatarXiaoguang Xing <xiaoguang.xing@sophgo.com>
parent 5d857838
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment