diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-01-24 08:44:24 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-02-08 09:18:53 +0100 |
commit | b94205dc97cf2f794cef89512fb2e7f568def4d5 (patch) | |
tree | b09b7159c00c04dd20d8f1b33b6e8ffc9f2d6b69 | |
parent | aefc67826ed9e8eea82851dec4de10b94015b062 (diff) | |
download | barebox-b94205dc97cf2f794cef89512fb2e7f568def4d5.tar.gz barebox-b94205dc97cf2f794cef89512fb2e7f568def4d5.tar.xz |
ARM: Add UNWIND macro
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/include/asm/unwind.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/unwind.h b/arch/arm/include/asm/unwind.h index 311ad3d665..a6f3a91743 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 */ |