summaryrefslogtreecommitdiff
path: root/arch/sh/oprofile/backtrace.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-12-22 19:32:27 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 19:32:27 +0900
commit59de580af1c2fd671b0cb27c41ff958859ae5288 (patch)
tree5d639f31c459d4499c6b6a08eaa0379829ec7ccf /arch/sh/oprofile/backtrace.c
parent7d91fcfcb91dde7bc4586154942862c1724b3519 (diff)
sh: oprofile: Fix up the module build.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/oprofile/backtrace.c')
-rw-r--r--arch/sh/oprofile/backtrace.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sh/oprofile/backtrace.c b/arch/sh/oprofile/backtrace.c
index 418e834654c1..9499a2914f89 100644
--- a/arch/sh/oprofile/backtrace.c
+++ b/arch/sh/oprofile/backtrace.c
@@ -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;