1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __BPF_MISC_H__
3 #define __BPF_MISC_H__
4 
5 #if defined(__TARGET_ARCH_x86)
6 #define SYSCALL_WRAPPER 1
7 #define SYS_PREFIX "__x64_"
8 #elif defined(__TARGET_ARCH_s390)
9 #define SYSCALL_WRAPPER 1
10 #define SYS_PREFIX "__s390x_"
11 #elif defined(__TARGET_ARCH_arm64)
12 #define SYSCALL_WRAPPER 1
13 #define SYS_PREFIX "__arm64_"
14 #else
15 #define SYSCALL_WRAPPER 0
16 #define SYS_PREFIX "__se_"
17 #endif
18 
19 #endif
20