]> git.openpandora.org Git - pandora-kernel.git/commitdiff
CRIS: add STACKTRACE_SUPPORT
authorRabin Vincent <rabin@rab.in>
Thu, 14 May 2015 16:19:03 +0000 (18:19 +0200)
committerJesper Nilsson <jespern@axis.com>
Fri, 4 Sep 2015 22:56:50 +0000 (00:56 +0200)
Add stacktrace support, which is required for lockdep and tracing.  The
stack tracing simply looks at all kernel text symbols found on the
stack, similar to the trap stack dumping code, which can also be
converted to use this.

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/Kconfig
arch/cris/include/asm/stacktrace.h [new file with mode: 0644]
arch/cris/kernel/Makefile
arch/cris/kernel/stacktrace.c [new file with mode: 0644]

index e7ba2d4bdd4f3bf2bde4b46c8138725f9ea197dd..61f4acceb9d43be85d5b6af6d167c11db6c10ec0 100644 (file)
@@ -40,6 +40,9 @@ config TRACE_IRQFLAGS_SUPPORT
        depends on ETRAX_ARCH_V32
        def_bool y
 
+config STACKTRACE_SUPPORT
+       def_bool y
+
 config CRIS
        bool
        default y
Simple merge
Simple merge
Simple merge