Skip to content

Commit e16343c

Browse files
Uwe Kleine-KönigRussell King
authored andcommitted
ARM: 8160/1: drop warning about return_address not using unwind tables
The warning was introduced in 2009 (commit 4bf1fa5 ([ARM] 5613/1: implement CALLER_ADDRESSx)). The only "problem" here is that CALLER_ADDRESSx for x > 1 returns NULL which doesn't do much harm. The drawback of implementing a fix (i.e. use unwind tables to implement CALLER_ADDRESSx) is that much of the unwinder code would need to be marked as not traceable. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent c3c963e commit e16343c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎arch/arm/kernel/return_address.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ void *return_address(unsigned int level)
5959

6060
#else /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) */
6161

62-
#if defined(CONFIG_ARM_UNWIND)
63-
#warning "TODO: return_address should use unwind tables"
64-
#endif
65-
6662
#endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */
6763

6864
EXPORT_SYMBOL_GPL(return_address);

0 commit comments

Comments
 (0)