Commit 59de580a authored by Paul Mundt's avatar Paul Mundt

sh: oprofile: Fix up the module build.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 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;
}
} while (valid_kernel_stack(stackaddr, regs));
return stackaddr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment