1 /* Regularize <asm/unistd.h> definitions. ARC version. 2 Copyright (C) 2020-2021 Free Software Foundation, Inc. 3 4 The GNU C Library is free software; you can redistribute it and/or 5 modify it under the terms of the GNU Lesser General Public 6 License as published by the Free Software Foundation; either 7 version 2.1 of the License, or (at your option) any later version. 8 9 The GNU C Library is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 Lesser General Public License for more details. 13 14 You should have received a copy of the GNU Lesser General Public 15 License along with the GNU C Library; if not, see 16 <http://www.gnu.org/licenses/>. */ 17 18 /* Adjustments to ARC asm-generic syscall ABI (3.9 kernel) for 64-bit time_t 19 support. */ 20 21 /* fstat64 and fstatat64 need to be replaced with statx. */ 22 23 #undef __NR_fstat64 24 #undef __NR_fstatat64 25 26 /* Elide all other 32-bit time_t syscalls. */ 27 28 # undef __NR_clock_adjtime 29 # undef __NR_clock_getres 30 # undef __NR_clock_gettime 31 # undef __NR_clock_nanosleep 32 # undef __NR_clock_settime 33 # undef __NR_futex 34 # undef __NR_mq_timedreceive 35 # undef __NR_mq_timedsend 36 # undef __NR_ppoll 37 # undef __NR_pselect6 38 # undef __NR_recvmmsg 39 # undef __NR_rt_sigtimedwait 40 # undef __NR_sched_rr_get_interval 41 # undef __NR_semtimedop 42 # undef __NR_timer_gettime 43 # undef __NR_timer_settime 44 # undef __NR_timerfd_gettime 45 # undef __NR_timerfd_settime 46 # undef __NR_utimensat 47