Skip to content
Unverified Commit 336e8eb2 authored by Guo Ren's avatar Guo Ren Committed by Palmer Dabbelt
Browse files

riscv: Fixup pfn_valid error with wrong max_mapnr



The max_mapnr is the number of PFNs, not absolute PFN offset.

Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
Fixes: d0d8aae6 ("RISC-V: Set maximum number of mapped pages correctly")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent 19c329f6
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