Skip to content

Commit e0c0a7c

Browse files
andreas-schwabpalmer-dabbelt
authored andcommitted
riscv: select ARCH_PROC_KCORE_TEXT
This adds a separate segment for kernel text in /proc/kcore, which has a different address than the direct linear map. Signed-off-by: Andreas Schwab <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 4cc0d8a commit e0c0a7c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/riscv/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,9 @@ config PORTABLE
916916
select MMU
917917
select OF
918918

919+
config ARCH_PROC_KCORE_TEXT
920+
def_bool y
921+
919922
menu "Power management options"
920923

921924
source "kernel/power/Kconfig"

0 commit comments

Comments
 (0)