]> 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)
commit91029a775d297a5f8f4e0cc3713a0170dccc11ad
tree89bb28acefedaf7e6322d684beca1e879e672199
parent8d6420d8e617ddcb0c0a13a4b99bbaa4637e327a
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