MIPS: Mask jump target in ftrace_dyn_arch_init_insns().
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 28 Dec 2010 21:21:37 +0000 (13:21 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 10 May 2011 17:15:22 +0000 (18:15 +0100)
commitc54794d19e61472156e37263c074225574c80df1
tree9d118fb5d37ffae76dbe55d6a25c5d5999a3108f
parent693d92a1bbc9e42681c42ed190bd42b636ca876f
MIPS: Mask jump target in ftrace_dyn_arch_init_insns().

The current code is abusing the uasm interface by passing jump target
addresses with high bits set.  Mask the addresses to avoid annoying
messages at boot time.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/1922/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/ftrace.c