From 59de580af1c2fd671b0cb27c41ff958859ae5288 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Mon, 22 Dec 2008 19:32:27 +0900 Subject: sh: oprofile: Fix up the module build. Signed-off-by: Paul Mundt 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 @@ 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; -- cgit v0.10.2