]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
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 | */ | |
43e40f25 DH |
8 | #ifndef _ASM_IA64_UNISTD_H |
9 | #define _ASM_IA64_UNISTD_H | |
1da177e4 | 10 | |
43e40f25 | 11 | #include <uapi/asm/unistd.h> |
1da177e4 | 12 | |
1da177e4 | 13 | |
1da177e4 | 14 | |
2d5ae5c2 | 15 | #define NR_syscalls 326 /* length of syscall table */ |
1da177e4 | 16 | |
9f57195b TL |
17 | /* |
18 | * The following defines stop scripts/checksyscalls.sh from complaining about | |
19 | * unimplemented system calls. Glibc provides for each of these by using | |
20 | * more modern equivalent system calls. | |
21 | */ | |
22 | #define __IGNORE_fork /* clone() */ | |
23 | #define __IGNORE_time /* gettimeofday() */ | |
24 | #define __IGNORE_alarm /* setitimer(ITIMER_REAL, ... */ | |
25 | #define __IGNORE_pause /* rt_sigprocmask(), rt_sigsuspend() */ | |
26 | #define __IGNORE_utime /* utimes() */ | |
27 | #define __IGNORE_getpgrp /* getpgid() */ | |
28 | #define __IGNORE_vfork /* clone() */ | |
e56e2dcd | 29 | #define __IGNORE_umount2 /* umount() */ |
9f57195b | 30 | |
1da177e4 LT |
31 | #if !defined(__ASSEMBLY__) && !defined(ASSEMBLER) |
32 | ||
33 | #include <linux/types.h> | |
34 | #include <linux/linkage.h> | |
35 | #include <linux/compiler.h> | |
36 | ||
37 | extern long __ia64_syscall (long a0, long a1, long a2, long a3, long a4, long nr); | |
38 | ||
1da177e4 LT |
39 | asmlinkage unsigned long sys_mmap( |
40 | unsigned long addr, unsigned long len, | |
41 | int prot, int flags, | |
42 | int fd, long off); | |
43 | asmlinkage unsigned long sys_mmap2( | |
44 | unsigned long addr, unsigned long len, | |
45 | int prot, int flags, | |
46 | int fd, long pgoff); | |
47 | struct pt_regs; | |
1134723e | 48 | asmlinkage long sys_ia64_pipe(void); |
1da177e4 | 49 | |
1da177e4 | 50 | #endif /* !__ASSEMBLY__ */ |
1da177e4 | 51 | #endif /* _ASM_IA64_UNISTD_H */ |