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) ...@@ -85,11 +85,7 @@ kernel_backtrace(unsigned long *stackaddr, struct pt_regs *regs)
*/ */
do { do {
addr = *stackaddr++; addr = *stackaddr++;
oprofile_add_trace(addr);
if (__kernel_text_address(addr)) {
oprofile_add_trace(addr);
break;
}
} while (valid_kernel_stack(stackaddr, regs)); } while (valid_kernel_stack(stackaddr, regs));
return stackaddr; 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