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 <schwab@suse.de> Link: https://lore.kernel.org/r/mvmh6m758ao.fsf@suse.de Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 4cc0d8a commit e0c0a7c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)