1 /* Regularize <asm/unistd.h> definitions. ARC version.
2 Copyright (C) 2020-2023 Free Software Foundation, Inc.
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.
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.
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/>. */
18 /* Adjustments to ARC asm-generic syscall ABI (3.9 kernel) for 64-bit time_t
21 /* fstat64 and fstatat64 need to be replaced with statx. */
26 /* Elide all other 32-bit time_t syscalls. */
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
34 # undef __NR_mq_timedreceive
35 # undef __NR_mq_timedsend
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