s390/dumpstack: get rid of return_address again
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 17 Oct 2016 11:07:46 +0000 (13:07 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 17 Oct 2016 12:44:33 +0000 (14:44 +0200)
commitdcddba96cdbc5d0e4d4a17bf22cfd9b2f038a4ca
tree409b7d1c784ecb598a9da816f60aee9e7761cab5
parent4d062487f3431f124e3a2420c0da0b7a2388dc80
s390/dumpstack: get rid of return_address again

With commit ef6000b4c670 ("Disable the __builtin_return_address()
warning globally after all)" the kernel does not warn at all again if
__builtin_return_address(n) is called with n > 0.

Besides the fact that this was a false warning on s390 anyway, due to
the always present backchain, we can now revert commit 5606330627ab
("s390/dumpstack: implement and use return_address()") again, to
simplify the code again.

After all I shouldn't have had return_address() implememted at all to
workaround this issue. So get rid of this again.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/ftrace.h
arch/s390/kernel/dumpstack.c