aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorAlexandre Ghiti <[email protected]>2021-06-29 09:13:48 +0000
committerPalmer Dabbelt <[email protected]>2021-07-23 04:34:36 +0000
commitdb6b84a368b495cb7e41be9cb9e73d4d0537d027 (patch)
treeeba21fdeb9b9b8238fb0cb08ef76226f5eec7e74 /lib/debugobjects.c
parentriscv: Make sure the linear mapping does not use the kernel mapping (diff)
downloadkernel-db6b84a368b495cb7e41be9cb9e73d4d0537d027.tar.gz
kernel-db6b84a368b495cb7e41be9cb9e73d4d0537d027.zip
riscv: Make sure the kernel mapping does not overlap with IS_ERR_VALUE
The check that is done in setup_bootmem currently only works for 32-bit kernel since the kernel mapping has been moved outside of the linear mapping for 64-bit kernel. So make sure that for 64-bit kernel, the kernel mapping does not overlap with the last 4K of the addressable memory. Signed-off-by: Alexandre Ghiti <[email protected]> Fixes: 2bfc6cd81bd1 ("riscv: Move kernel mapping outside of linear mapping") Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions