Skip to content

Commit

Permalink
sh: oprofile: Fix up the module build.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Dec 22, 2008
1 parent 7d91fcf commit 59de580
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions arch/sh/oprofile/backtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 59de580

Please sign in to comment.