From: Wu Zhangjin Date: Wed, 19 Jan 2011 19:28:29 +0000 (+0800) Subject: MIPS, Tracing: Substitute in_kernel_space() for in_module() X-Git-Tag: v2.6.38~2^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9cdb2f1038143c945fcb1a366aae4fa2998419e;p=pandora-kernel.git 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 Cc: Steven Rostedt Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2005/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed