summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/unwind.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/unwind.h')
-rw-r--r--arch/arm/include/asm/unwind.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/unwind.h b/arch/arm/include/asm/unwind.h
index 311ad3d..a6f3a91 100644
--- a/arch/arm/include/asm/unwind.h
+++ b/arch/arm/include/asm/unwind.h
@@ -48,4 +48,10 @@ extern void unwind_backtrace(struct pt_regs *regs);
#endif /* !__ASSEMBLY__ */
+#ifdef CONFIG_ARM_UNWIND
+#define UNWIND(code...) code
+#else
+#define UNWIND(code...)
+#endif
+
#endif /* __ASM_UNWIND_H */