Revert "riscv: Fix fp alignment bug in perf_callchain_user()"
This reverts commit 82b35b5043
.
This commit is contained in:
parent
c82d0a9118
commit
b2f8d7bb11
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ void perf_callchain_user(struct perf_callchain_entry_ctx *entry,
|
|||
perf_callchain_store(entry, regs->epc);
|
||||
|
||||
fp = user_backtrace(entry, fp, regs->ra);
|
||||
while (fp && !(fp & 0x7) && entry->nr < entry->max_stack)
|
||||
while (fp && !(fp & 0x3) && entry->nr < entry->max_stack)
|
||||
fp = user_backtrace(entry, fp, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue