Revert "riscv: Fix fp alignment bug in perf_callchain_user()"

This reverts commit 82b35b5043.
This commit is contained in:
Ksawlii 2024-11-24 00:23:20 +01:00
parent c82d0a9118
commit b2f8d7bb11

View file

@ -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);
}