blob: dbd887d8a5a5846183fcd966feafbc73fedf3f2d [file] [log] [blame]
Vegard Nossum77ef50a2008-06-18 17:08:48 +02001#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
Vegard Nossum77ef50a2008-06-18 17:08:48 +020018#endif /* ASM_X86__IA32_UNISTD_H */