aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2014-09-24 08:51:57 +0100
committerDan Pasanen <dan.pasanen@gmail.com>2015-04-12 02:23:32 +0000
commit5bd35218cc7eba9b363ccf8ba1d1bc141a6f7cb5 (patch)
tree5a8e80b84de7c80cd3c3d11fe76a0ab2b3744e41
parent5b5fe616ac0f20c9f7c9dab6b767737716b6db9c (diff)
ARM: 8160/1: drop warning about return_address not using unwind tableslp5.1
The warning was introduced in 2009 (commit 4bf1fa5a34aa ([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. Change-Id: I1833481898c3403aa2faafa8c36a819774aa3eee Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/kernel/return_address.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c
index 8085417555d..0697db65efa 100644
--- a/arch/arm/kernel/return_address.c
+++ b/arch/arm/kernel/return_address.c
@@ -58,10 +58,6 @@ void *return_address(unsigned int level)
#else /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) */
-#if defined(CONFIG_ARM_UNWIND)
-#warning "TODO: return_address should use unwind tables"
-#endif
-
void *return_address(unsigned int level)
{
return NULL;