mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +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 {
|
do {
|
||||||
addr = *stackaddr++;
|
addr = *stackaddr++;
|
||||||
|
oprofile_add_trace(addr);
|
||||||
if (__kernel_text_address(addr)) {
|
|
||||||
oprofile_add_trace(addr);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
} while (valid_kernel_stack(stackaddr, regs));
|
} while (valid_kernel_stack(stackaddr, regs));
|
||||||
|
|
||||||
return stackaddr;
|
return stackaddr;
|
||||||
|
|
Loading…
Reference in a new issue