summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel
diff options
context:
space:
mode:
authorAlexandre Ghiti <alex@ghiti.fr>2021-07-26 07:42:54 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-08-12 07:16:58 -0700
commitfdf3a7a1e0a67a52f631b055975c6ac7e0e49a65 (patch)
tree7963d4954e0e4e725080ec92216aeb45684b0f59 /arch/riscv/kernel
parent030d6dbf0c2e5fdf23ad29557f0c87a882993e26 (diff)
riscv: Fix comment regarding kernel mapping overlapping with IS_ERR_VALUE
The current comment states that we check if the 64-bit kernel mapping overlaps with the last 4K of the address space that is reserved to error values in create_kernel_page_table, which is not the case since it is done in setup_vm. But anyway, remove the reference to any function and simply note that in 64-bit kernel, the check should be done as soon as the kernel mapping base address is known. Fixes: db6b84a368b4 ("riscv: Make sure the kernel mapping does not overlap with IS_ERR_VALUE") Signed-off-by: Alexandre Ghiti <alex@ghiti.fr> Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/kernel')
0 files changed, 0 insertions, 0 deletions