diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/oprofile/backtrace.c | 6 |
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) | |||
85 | */ | 85 | */ |
86 | do { | 86 | do { |
87 | addr = *stackaddr++; | 87 | addr = *stackaddr++; |
88 | 88 | oprofile_add_trace(addr); | |
89 | if (__kernel_text_address(addr)) { | ||
90 | oprofile_add_trace(addr); | ||
91 | break; | ||
92 | } | ||
93 | } while (valid_kernel_stack(stackaddr, regs)); | 89 | } while (valid_kernel_stack(stackaddr, regs)); |
94 | 90 | ||
95 | return stackaddr; | 91 | return stackaddr; |