summaryrefslogtreecommitdiffstats
path: root/arch/mips/alchemy/common/sleeper.S
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2010-05-14 13:08:34 +0200
committerRalf Baechle <ralf@linux-mips.org>2010-07-05 18:17:30 +0200
commitc9f84873c1231621508cd438bb2991ddba770a69 (patch)
tree4bf6065b6d184dc54e01bb8445e2de28c42d50fb /arch/mips/alchemy/common/sleeper.S
parentMIPS: Tracing: Cleanup of function graph tracer (diff)
downloadlinux-c9f84873c1231621508cd438bb2991ddba770a69.tar.xz
linux-c9f84873c1231621508cd438bb2991ddba770a69.zip
MIPS: Tracing: Cleanup of address space checking
This patch adds an inline function in_module() to check which space the instruction pointer in, kernel space or module space. Note: This will not work when the kernel space and module space are the same. If they are the same, we need to modify scripts/recordmcount.pl, ftrace_make_nop/call() and the other related parts to ensure the enabling/disabling of the calling site to _mcount is right for both kernel and module. [Ralf: It also is still incorrect for some 64-bit kernels.] Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Cc: linux-mips <linux-mips@linux-mips.org> Cc: David Daney <david.s.daney@gmail.com> Patchwork: http://patchwork.linux-mips.org/patch/1232/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy/common/sleeper.S')
0 files changed, 0 insertions, 0 deletions