提交 59de580a 编写于 作者: P Paul Mundt

sh: oprofile: Fix up the module build.

Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 7d91fcfc
......@@ -85,11 +85,7 @@ kernel_backtrace(unsigned long *stackaddr, struct pt_regs *regs)
*/
do {
addr = *stackaddr++;
if (__kernel_text_address(addr)) {
oprofile_add_trace(addr);
break;
}
oprofile_add_trace(addr);
} while (valid_kernel_stack(stackaddr, regs));
return stackaddr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册