H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_IA32_UNISTD_H |
| 2 | #define _ASM_X86_IA32_UNISTD_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |
Dave Jones | 99122a3 | 2008-01-30 13:30:28 +0100 | [diff] [blame] | 8 | * the number. This should be otherwise in sync with asm-x86/unistd_32.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 | |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 18 | #endif /* _ASM_X86_IA32_UNISTD_H */ |