]> git.karo-electronics.de Git - mv-sheeva.git/commit
MIPS, Tracing: Substitute in_kernel_space() for in_module()
authorWu Zhangjin <wuzhangjin@gmail.com>
Wed, 19 Jan 2011 19:28:29 +0000 (03:28 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 14 Mar 2011 20:07:24 +0000 (21:07 +0100)
commitd9cdb2f1038143c945fcb1a366aae4fa2998419e
treef6b0e9b0dd338e1c704cd9f4c7013d9af3476acf
parent9a620a559be65023b5fd5d0eaf37dae884c4f404
MIPS, Tracing: Substitute in_kernel_space() for in_module()

The old in_module() may not work in some situations(e.g. when module &
kernel are in the same address space when CONFIG_MAPPED_KERNEL=y), The
in_kernel_space() is more generic and it is also easy to be implemented
via cloning the existing core_kernel_text(), so, replace the in_module()
with in_kernel_space().

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2005/
Signed-off-by: Ralf Baechle <ralf@duck.linux-mips.net>
arch/mips/kernel/ftrace.c