sh: prefer _THIS_IP_ to current_text_addr
authorNick Desaulniers <ndesaulniers@google.com>
Fri, 17 Aug 2018 22:44:21 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Aug 2018 23:20:27 +0000 (16:20 -0700)
commit8d00d0c00c0720c43b0eec0e86a6e916192f35d0
tree7a45a9612c922645e0da24dc1624480ccf3eea8e
parent82f7c5103dcdd714486a64cfc5783cc4608d124c
sh: prefer _THIS_IP_ to current_text_addr

As part of the effort to reduce the code duplication between _THIS_IP_
and current_text_addr(), let's consolidate callers of
current_text_addr() to use _THIS_IP_.

Link: http://lkml.kernel.org/r/20180801185331.39535-1-ndesaulniers@google.com
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sh/include/asm/kexec.h
arch/sh/kernel/dwarf.c