Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Copyright (C) 2012 ARM Ltd.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #ifdef CONFIG_COMPAT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #define __ARCH_WANT_COMPAT_STAT64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #define __ARCH_WANT_SYS_GETHOSTNAME
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #define __ARCH_WANT_SYS_PAUSE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #define __ARCH_WANT_SYS_GETPGRP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define __ARCH_WANT_SYS_NICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define __ARCH_WANT_SYS_SIGPENDING
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #define __ARCH_WANT_SYS_SIGPROCMASK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define __ARCH_WANT_COMPAT_SYS_SENDFILE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define __ARCH_WANT_SYS_UTIME32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define __ARCH_WANT_SYS_FORK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define __ARCH_WANT_SYS_VFORK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)  * Compat syscall numbers used by the AArch64 kernel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #define __NR_compat_restart_syscall	0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #define __NR_compat_exit		1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #define __NR_compat_read		3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #define __NR_compat_write		4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #define __NR_compat_gettimeofday	78
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #define __NR_compat_sigreturn		119
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #define __NR_compat_rt_sigreturn	173
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) #define __NR_compat_clock_gettime	263
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) #define __NR_compat_clock_getres	264
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #define __NR_compat_clock_gettime64	403
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #define __NR_compat_clock_getres_time64	406
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)  * The following SVCs are ARM private.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) #define __ARM_NR_COMPAT_BASE		0x0f0000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) #define __ARM_NR_compat_cacheflush	(__ARM_NR_COMPAT_BASE + 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) #define __ARM_NR_compat_set_tls		(__ARM_NR_COMPAT_BASE + 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) #define __ARM_NR_COMPAT_END		(__ARM_NR_COMPAT_BASE + 0x800)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) #define __NR_compat_syscalls		449
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) #define __ARCH_WANT_SYS_CLONE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) #ifndef __COMPAT_SYSCALL_NR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) #include <uapi/asm/unistd.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) #define NR_syscalls (__NR_syscalls)