commit | 59de580af1c2fd671b0cb27c41ff958859ae5288 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Mon Dec 22 19:32:27 2008 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Dec 22 19:32:27 2008 +0900 |
tree | 5d639f31c459d4499c6b6a08eaa0379829ec7ccf | |
parent | 7d91fcfcb91dde7bc4586154942862c1724b3519 [diff] [blame] |
sh: oprofile: Fix up the module build. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/arch/sh/oprofile/backtrace.c b/arch/sh/oprofile/backtrace.c index 418e834..9499a29 100644 --- a/arch/sh/oprofile/backtrace.c +++ b/arch/sh/oprofile/backtrace.c
@@ -85,11 +85,7 @@ */ 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;