]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: oprofile: Fix up the module build.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 10:32:27 +0000 (19:32 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 10:32:27 +0000 (19:32 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/oprofile/backtrace.c

index 418e834654c194370addcef81ce906e0fa65428e..9499a2914f89b4e10eeae491ddd1cd0a3975021f 100644 (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;