projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cc0d8a
)
riscv: select ARCH_PROC_KCORE_TEXT
author
Andreas Schwab
<schwab@suse.de>
Tue, 31 Oct 2023 11:40:47 +0000
(12:40 +0100)
committer
Palmer Dabbelt
<palmer@rivosinc.com>
Tue, 7 Nov 2023 00:25:45 +0000
(16:25 -0800)
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>
arch/riscv/Kconfig
patch
|
blob
|
history
diff --git
a/arch/riscv/Kconfig
b/arch/riscv/Kconfig
index 3f77530180b96abcf35e77d5a07c6604a5f77305..5b1e61aca6cff48faa178019228a5b59dc5468f7 100644
(file)
--- 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"