summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/include/asm/perf_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/include/asm/perf_event.h')
-rw-r--r--arch/loongarch/include/asm/perf_event.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/loongarch/include/asm/perf_event.h b/arch/loongarch/include/asm/perf_event.h
index 52b638059..f948a0676 100644
--- a/arch/loongarch/include/asm/perf_event.h
+++ b/arch/loongarch/include/asm/perf_event.h
@@ -13,8 +13,7 @@
#define perf_arch_fetch_caller_regs(regs, __ip) { \
(regs)->csr_era = (__ip); \
- (regs)->regs[3] = current_stack_pointer; \
- (regs)->regs[22] = (unsigned long) __builtin_frame_address(0); \
+ (regs)->regs[3] = (unsigned long) __builtin_frame_address(0); \
}
#endif /* __LOONGARCH_PERF_EVENT_H__ */