blob: 61cea9e7c5c1b499dc67395b3d61ea18d54fee3f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#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 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070018#endif /* _ASM_X86_64_IA32_UNISTD_H_ */