ARM: 8160/1: drop warning about return_address not using unwind tables 60/158360/1
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 24 Sep 2014 07:51:57 +0000 (08:51 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 31 Oct 2017 08:05:48 +0000 (17:05 +0900)
commit97629afb05e10c13fbc94d037f6780c9645370c2
treec07aa4acb713fcbc5a18d26dced1cf6b5dc9d79d
parentdb6a5d953fee8603f486ee3a8d8e5f31d45749f7
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>
[sw0312.kim: cherry-pick from mainline to remove build warning.]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ifd4a14efb9f891abca8e3da0a65f0635160356e8
arch/arm/kernel/return_address.c