Files
android_kernel_xiaomi_sm8450/arch/mips/kernel
Wu Zhangjin c9f84873c1 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>
2010-07-05 17:17:30 +01:00
..
2010-05-21 21:31:14 +01:00
2008-05-01 08:03:58 -07:00
2009-12-10 15:02:50 +01:00
2010-04-12 17:26:14 +01:00
2010-05-21 21:31:14 +01:00
2009-08-03 17:52:40 +01:00
2009-07-12 12:22:34 -07:00
2010-03-12 15:52:39 -08:00
2006-12-10 21:52:11 +00:00
2010-05-21 21:31:17 +01:00
2010-04-12 17:26:14 +01:00
2009-06-24 18:34:40 +01:00
2009-12-17 01:57:30 +00:00
2010-04-12 17:26:14 +01:00