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

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