mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 09:13:55 +08: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
@ -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 New Issue
Block a user