blob: 5b52ce5073383606db7b14c08d90136975bf69cd [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
8 * the number. This should be otherwise in sync with asm-i386/unistd.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_ */