diff options
| author | Austin Kim <austin.kim@lge.com> | 2026-04-05 03:42:40 +0300 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-04-05 03:42:40 +0300 |
| commit | ce3a360a6d0b3d2b2a23238ff1b7a4ac1280d196 (patch) | |
| tree | e2192840e5b51aeb0e3b0a71b4c73579508e56af /tools/testing | |
| parent | 31454cb5f1a37eefe2465601418a978b7668424e (diff) | |
| download | linux-ce3a360a6d0b3d2b2a23238ff1b7a4ac1280d196.tar.xz | |
riscv: move kaslr_offset() to page.h as a static inline function
The kaslr_offset() function is a simple accessor that returns
kernel_map.virt_offset. This commit change also ensures that kaslr_offset()
is consistently available across various kernel configurations without
requiring explicit linkage to mm/init.c.
Signed-off-by: Austin Kim <austin.kim@lge.com>
Link: https://patch.msgid.link/aYwJ76yHaMbbQVJA@adminpc-PowerEdge-R7525
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions
