drm/ast: Only warn about unsupported TX chips on Gen4 and later
[drm/drm-misc.git] / arch / csky / include / asm / perf_event.h
blob249905d8a4e893bd1126a7ab1d11969a28c5e860
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __ASM_CSKY_PERF_EVENT_H
4 #define __ASM_CSKY_PERF_EVENT_H
6 #include <abi/regdef.h>
8 #define perf_arch_fetch_caller_regs(regs, __ip) { \
9 (regs)->pc = (__ip); \
10 regs_fp(regs) = (unsigned long) __builtin_frame_address(0); \
11 asm volatile("mov %0, sp\n":"=r"((regs)->usp)); \
14 #endif /* __ASM_PERF_EVENT_ELF_H */