diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2014-09-24 03:51:57 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-09-26 09:40:07 -0400 |
commit | e16343c47e4276f5ebc77ca16feb5e50ca1918f9 (patch) | |
tree | 89bb28acefedaf7e6322d684beca1e879e672199 | |
parent | c3c963e1fb1c43641831595f53aa23f34dcaed3a (diff) |
ARM: 8160/1: drop warning about return_address not using unwind tables
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.
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.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c index f6aa84d5b93c..98ea4b7eb406 100644 --- a/arch/arm/kernel/return_address.c +++ b/arch/arm/kernel/return_address.c | |||
@@ -59,10 +59,6 @@ void *return_address(unsigned int level) | |||
59 | 59 | ||
60 | #else /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) */ | 60 | #else /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) */ |
61 | 61 | ||
62 | #if defined(CONFIG_ARM_UNWIND) | ||
63 | #warning "TODO: return_address should use unwind tables" | ||
64 | #endif | ||
65 | |||
66 | #endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */ | 62 | #endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */ |
67 | 63 | ||
68 | EXPORT_SYMBOL_GPL(return_address); | 64 | EXPORT_SYMBOL_GPL(return_address); |