diff options
author | Vincent Chen <vincent.chen@sifive.com> | 2020-06-23 13:36:59 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-07-09 20:09:29 -0700 |
commit | fc0c769ffd926312848912a7c2296e1c503898c3 (patch) | |
tree | f2be9c1ed0a4472c7910a11ea60da789cfbbbafa /arch/riscv/kernel/kgdb.c | |
parent | 8c080d3a974ad471d8324825851044284f1886c9 (diff) |
riscv: enable the Kconfig prompt of STRICT_KERNEL_RWX
Due to lack of hardware breakpoint support, the kernel option
CONFIG_STRICT_KERNEL_RWX should be disabled when using KGDB. However,
CONFIG_STRICT_KERNEL_RWX is always enabled now. Therefore, select
ARCH_OPTIONAL_KERNEL_RWX_DEFAULT to enable CONFIG_STRICT_KERNEL_RWX
by default, and then select ARCH_OPTIONAL_KERNEL_RWX to enable the
Kconfig prompt of CONFIG_STRICT_KERNEL_RWX so that users can turn it off.
Signed-off-by: Vincent Chen <vincent.chen@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/kernel/kgdb.c')
0 files changed, 0 insertions, 0 deletions