diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2020-06-27 16:57:08 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-07-30 21:37:32 +0300 |
commit | 3c46979829824da5af8766d89fa877976bdae884 (patch) | |
tree | 1e64ab13e5e925fd0a4aba3a769933d03eabdcba /arch/riscv/Kconfig | |
parent | c15959921f8d31bd332c9572650896941bb094c0 (diff) | |
download | linux-3c46979829824da5af8766d89fa877976bdae884.tar.xz |
riscv: Enable LOCKDEP_SUPPORT & fixup TRACE_IRQFLAGS_SUPPORT
Lockdep is needed by proving the spinlocks and rwlocks. To suupport
it, we need fixup TRACE_IRQFLAGS_SUPPORT in kernel/entry.S. This
patch follow Documentation/irqflags-tracing.txt.
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/Kconfig')
-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 089293e4ad46..543335df7376 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -179,6 +179,9 @@ config PGTABLE_LEVELS default 3 if 64BIT default 2 +config LOCKDEP_SUPPORT + def_bool y + source "arch/riscv/Kconfig.socs" menu "Platform type" |