mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
sh: oprofile: Fix up the module build.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
7d91fcfcb9
commit
59de580af1
1 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue