hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/arm/include/asm/perf_event.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/arch/arm/include/asm/perf_event.h
34 *
45 * Copyright (C) 2009 picoChip Designs Ltd, Jamie Iles
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
9
- *
106 */
117
128 #ifndef __ARM_PERF_EVENT_H__
....@@ -21,7 +17,7 @@
2117
2218 #define perf_arch_fetch_caller_regs(regs, __ip) { \
2319 (regs)->ARM_pc = (__ip); \
24
- (regs)->ARM_fp = (unsigned long) __builtin_frame_address(0); \
20
+ frame_pointer((regs)) = (unsigned long) __builtin_frame_address(0); \
2521 (regs)->ARM_sp = current_stack_pointer; \
2622 (regs)->ARM_cpsr = SVC_MODE; \
2723 }