blob: 976f6ecd2ce691da49d58e433f0b76b0348622b2 [file] [log] [blame]
H. Peter Anvin1965aae2008-10-22 22:26:29 -07001#ifndef _ASM_X86_IA32_UNISTD_H
2#define _ASM_X86_IA32_UNISTD_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
4/*
5 * This file contains the system call numbers of the ia32 port,
6 * this is for the kernel only.
Andi Kleen0c90bb82006-06-26 13:56:22 +02007 * Only add syscalls here where some part of the kernel needs to know
Dave Jones99122a32008-01-30 13:30:28 +01008 * the number. This should be otherwise in sync with asm-x86/unistd_32.h. -AK
Linus Torvalds1da177e2005-04-16 15:20:36 -07009 */
10
11#define __NR_ia32_restart_syscall 0
12#define __NR_ia32_exit 1
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#define __NR_ia32_read 3
14#define __NR_ia32_write 4
Andi Kleen0c90bb82006-06-26 13:56:22 +020015#define __NR_ia32_sigreturn 119
Linus Torvalds1da177e2005-04-16 15:20:36 -070016#define __NR_ia32_rt_sigreturn 173
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
H. Peter Anvin1965aae2008-10-22 22:26:29 -070018#endif /* _ASM_X86_IA32_UNISTD_H */