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>
This commit is contained in:
Andreas Schwab 2023-10-31 12:40:47 +01:00 committed by Palmer Dabbelt
parent 4cc0d8a3f1
commit e0c0a7c35f
No known key found for this signature in database
GPG Key ID: 2E1319F35FBB1889

View File

@ -916,6 +916,9 @@ config PORTABLE
select MMU
select OF
config ARCH_PROC_KCORE_TEXT
def_bool y
menu "Power management options"
source "kernel/power/Kconfig"