]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8160/1: drop warning about return_address not using unwind tables
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 24 Sep 2014 07:51:57 +0000 (08:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 26 Sep 2014 13:40:07 +0000 (14:40 +0100)
commitf9adec6509c2795a9e2a227b6638d8b74bd962cd
tree89bb28acefedaf7e6322d684beca1e879e672199
parent25091e5ef2b03c85d722d331e0ce8e2959fbdfff
ARM: 8160/1: drop warning about return_address not using unwind tables

The warning was introduced in 2009 (commit 317230946b15 ([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>
arch/arm/kernel/return_address.c