ARM: 8160/1: drop warning about return_address not using unwind tables
authorUwe Kleine-König <[email protected]>
Wed, 24 Sep 2014 07:51:57 +0000 (08:51 +0100)
committerRussell King <[email protected]>
Fri, 26 Sep 2014 13:40:07 +0000 (14:40 +0100)
commite16343c47e4276f5ebc77ca16feb5e50ca1918f9
tree89bb28acefedaf7e6322d684beca1e879e672199
parentc3c963e1fb1c43641831595f53aa23f34dcaed3a
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 <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/kernel/return_address.c