riscv: Enable LOCKDEP_SUPPORT & fixup TRACE_IRQFLAGS_SUPPORT
authorGuo Ren <guoren@linux.alibaba.com>
Sat, 27 Jun 2020 13:57:08 +0000 (13:57 +0000)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 30 Jul 2020 18:37:32 +0000 (11:37 -0700)
commit3c46979829824da5af8766d89fa877976bdae884
tree1e64ab13e5e925fd0a4aba3a769933d03eabdcba
parentc15959921f8d31bd332c9572650896941bb094c0
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>
arch/riscv/Kconfig
arch/riscv/kernel/entry.S