diff options
author | Chris Zankel <czankel@tensilica.com> | 2006-12-10 05:18:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-10 12:55:39 -0500 |
commit | fc4fb2adf944d45a7f3d4d38df991c79ffdb6a43 (patch) | |
tree | bee95910d719861e2a189f7464b6bd6de6f22d1c /include/asm-xtensa/syscall.h | |
parent | 173d6681380aa1d60dfc35ed7178bd7811ba2784 (diff) |
[PATCH] xtensa: fix system call interface
This is a long outstanding patch to finally fix the syscall interface. The
constants used for the system calls are those we have provided in our libc
patches. This patch also fixes the shmbuf and stat structure, and fcntl
definitions.
Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-xtensa/syscall.h')
-rw-r--r-- | include/asm-xtensa/syscall.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/asm-xtensa/syscall.h b/include/asm-xtensa/syscall.h new file mode 100644 index 000000000000..6cb0d42f11c8 --- /dev/null +++ b/include/asm-xtensa/syscall.h | |||
@@ -0,0 +1,20 @@ | |||
1 | struct pt_regs; | ||
2 | struct sigaction; | ||
3 | asmlinkage long xtensa_execve(char*, char**, char**, struct pt_regs*); | ||
4 | asmlinkage long xtensa_clone(unsigned long, unsigned long, struct pt_regs*); | ||
5 | asmlinkage long xtensa_pipe(int __user *); | ||
6 | asmlinkage long xtensa_mmap2(unsigned long, unsigned long, unsigned long, | ||
7 | unsigned long, unsigned long, unsigned long); | ||
8 | asmlinkage long xtensa_ptrace(long, long, long, long); | ||
9 | asmlinkage long xtensa_sigreturn(struct pt_regs*); | ||
10 | asmlinkage long xtensa_rt_sigreturn(struct pt_regs*); | ||
11 | asmlinkage long xtensa_sigsuspend(struct pt_regs*); | ||
12 | asmlinkage long xtensa_rt_sigsuspend(struct pt_regs*); | ||
13 | asmlinkage long xtensa_sigaction(int, const struct old_sigaction*, | ||
14 | struct old_sigaction*); | ||
15 | asmlinkage long xtensa_sigaltstack(struct pt_regs *regs); | ||
16 | asmlinkage long sys_rt_sigaction(int, | ||
17 | const struct sigaction __user *, | ||
18 | struct sigaction __user *, | ||
19 | size_t); | ||
20 | asmlinkage long xtensa_shmat(int shmid, char __user *shmaddr, int shmflg); | ||