aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/stacktrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/stacktrace.h')
-rw-r--r--arch/arm/kernel/stacktrace.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/kernel/stacktrace.h b/arch/arm/kernel/stacktrace.h
new file mode 100644
index 000000000000..e9fd20cb5662
--- /dev/null
+++ b/arch/arm/kernel/stacktrace.h
@@ -0,0 +1,9 @@
1struct stackframe {
2 unsigned long fp;
3 unsigned long sp;
4 unsigned long lr;
5 unsigned long pc;
6};
7
8int walk_stackframe(unsigned long fp, unsigned long low, unsigned long high,
9 int (*fn)(struct stackframe *, void *), void *data);