diff options
author | Andreas Schwab | 2023-10-31 12:40:47 +0100 |
---|---|---|
committer | Palmer Dabbelt | 2023-11-06 16:25:45 -0800 |
commit | e0c0a7c35f67191152635e5913f76aa7094d967c (patch) | |
tree | 118712d2391103d8a3cbb35cdf58b3ac24645b35 /arch/riscv | |
parent | 4cc0d8a3f109fbdd8100ed88fc9417203a5d5b4e (diff) |
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>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 3f77530180b9..5b1e61aca6cf 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -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" |