Blame sysdeps/unix/sysv/linux/arm/kernel-features.h

Packit Service 82fcde
/* Set flags signalling availability of kernel features based on given
Packit Service 82fcde
   kernel version number.
Packit Service 82fcde
   Copyright (C) 2006-2018 Free Software Foundation, Inc.
Packit Service 82fcde
   This file is part of the GNU C Library.
Packit Service 82fcde
Packit Service 82fcde
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 82fcde
   modify it under the terms of the GNU Lesser General Public
Packit Service 82fcde
   License as published by the Free Software Foundation; either
Packit Service 82fcde
   version 2.1 of the License, or (at your option) any later version.
Packit Service 82fcde
Packit Service 82fcde
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 82fcde
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 82fcde
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 82fcde
   Lesser General Public License for more details.
Packit Service 82fcde
Packit Service 82fcde
   You should have received a copy of the GNU Lesser General Public
Packit Service 82fcde
   License along with the GNU C Library.  If not, see
Packit Service 82fcde
   <http://www.gnu.org/licenses/>.  */
Packit Service 82fcde
Packit Service 82fcde
#include_next <kernel-features.h>
Packit Service 82fcde
Packit Service 82fcde
/* The ARM kernel before 3.14.3 may or may not support
Packit Service 82fcde
   futex_atomic_cmpxchg_inatomic, depending on kernel
Packit Service 82fcde
   configuration.  */
Packit Service 82fcde
#if __LINUX_KERNEL_VERSION < 0x030E03
Packit Service 82fcde
# undef __ASSUME_SET_ROBUST_LIST
Packit Service 82fcde
#endif
Packit Service 82fcde
Packit Service 82fcde
/* ARM fadvise64_64 reorganize the syscall arguments.  */
Packit Service 82fcde
#define __ASSUME_FADVISE64_64_6ARG	1
Packit Service 82fcde
Packit Service 82fcde
/* Define this if your 32-bit syscall API requires 64-bit register
Packit Service 82fcde
   pairs to start with an even-number register.  */
Packit Service 82fcde
#define __ASSUME_ALIGNED_REGISTER_PAIRS	1
Packit Service 82fcde
Packit Service 82fcde
/* ARM only has a syscall for fadvise64{_64} and it is defined with a
Packit Service 82fcde
   non-standard name.  */
Packit Service 82fcde
#define __NR_fadvise64_64 __NR_arm_fadvise64_64
Packit Service 82fcde
Packit Service 82fcde
#define __ASSUME_RECV_SYSCALL   1
Packit Service 82fcde
#define __ASSUME_SEND_SYSCALL	1
Packit Service 82fcde
Packit Service 82fcde
#undef __ASSUME_CLONE_DEFAULT
Packit Service 82fcde
#define __ASSUME_CLONE_BACKWARDS	1