Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_64_IA32_UNISTD_H_ |
| 2 | #define _ASM_X86_64_IA32_UNISTD_H_ |
| 3 | |
| 4 | /* |
| 5 | * This file contains the system call numbers of the ia32 port, |
| 6 | * this is for the kernel only. |
Andi Kleen | 0c90bb8 | 2006-06-26 13:56:22 +0200 | [diff] [blame] | 7 | * Only add syscalls here where some part of the kernel needs to know |
| 8 | * the number. This should be otherwise in sync with asm-i386/unistd.h. -AK |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #define __NR_ia32_restart_syscall 0 |
| 12 | #define __NR_ia32_exit 1 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #define __NR_ia32_read 3 |
| 14 | #define __NR_ia32_write 4 |
Andi Kleen | 0c90bb8 | 2006-06-26 13:56:22 +0200 | [diff] [blame] | 15 | #define __NR_ia32_sigreturn 119 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | #define __NR_ia32_rt_sigreturn 173 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | #endif /* _ASM_X86_64_IA32_UNISTD_H_ */ |