sh: oprofile: Fix up the module build.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt 2008-12-22 19:32:27 +09:00
parent 7d91fcfcb9
commit 59de580af1

View file

@ -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;