]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c68547dd822844c3af03ed5fb55952dacd19b8c
tree409b7d1c784ecb598a9da816f60aee9e7761cab5
parent215111a1d1923b4b80f207da27c136d21a710154
s390/dumpstack: get rid of return_address again

With commit d27b346647ec ("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 d1fae9dfd2d4
("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