1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * IA-64 Linux syscall numbers and inline-functions. 4 * 5 * Copyright (C) 1998-2005 Hewlett-Packard Co 6 * David Mosberger-Tang <davidm@hpl.hp.com> 7 */ 8 #ifndef _ASM_IA64_UNISTD_H 9 #define _ASM_IA64_UNISTD_H 10 11 #include <uapi/asm/unistd.h> 12 13 #define NR_syscalls __NR_syscalls /* length of syscall table */ 14 15 /* 16 * The following defines stop scripts/checksyscalls.sh from complaining about 17 * unimplemented system calls. Glibc provides for each of these by using 18 * more modern equivalent system calls. 19 */ 20 #define __IGNORE_fork /* clone() */ 21 #define __IGNORE_time /* gettimeofday() */ 22 #define __IGNORE_alarm /* setitimer(ITIMER_REAL, ... */ 23 #define __IGNORE_pause /* rt_sigprocmask(), rt_sigsuspend() */ 24 #define __IGNORE_utime /* utimes() */ 25 #define __IGNORE_getpgrp /* getpgid() */ 26 #define __IGNORE_vfork /* clone() */ 27 #define __IGNORE_umount2 /* umount() */ 28 29 #define __ARCH_WANT_NEW_STAT 30 #define __ARCH_WANT_SYS_UTIME 31 32 #if !defined(__ASSEMBLY__) && !defined(ASSEMBLER) 33 34 #include <linux/types.h> 35 #include <linux/linkage.h> 36 #include <linux/compiler.h> 37 38 extern long __ia64_syscall (long a0, long a1, long a2, long a3, long a4, long nr); 39 40 asmlinkage unsigned long sys_mmap( 41 unsigned long addr, unsigned long len, 42 int prot, int flags, 43 int fd, long off); 44 asmlinkage unsigned long sys_mmap2( 45 unsigned long addr, unsigned long len, 46 int prot, int flags, 47 int fd, long pgoff); 48 struct pt_regs; 49 asmlinkage long sys_ia64_pipe(void); 50 51 #endif /* !__ASSEMBLY__ */ 52 #endif /* _ASM_IA64_UNISTD_H */ 53