diff options
author | Chris Zankel <chris@zankel.net> | 2007-08-03 18:55:07 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2007-08-27 16:52:55 -0400 |
commit | 3547cdb1526aabd38b1e71dba93d545340fe41f8 (patch) | |
tree | 02a6df2aec6862957dded80bad0534c559498ee3 /include/asm-xtensa/syscall.h | |
parent | b91dc336cc7e0c9843f87ad0ba4cdbc821d69549 (diff) |
[XTENSA] add missing system calls
Add missing system calls that have been recently added to the kernel
for the Xtensa architecture and define __IGNORE macros for system calls
that we don't need for Xtensa.
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'include/asm-xtensa/syscall.h')
-rw-r--r-- | include/asm-xtensa/syscall.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/include/asm-xtensa/syscall.h b/include/asm-xtensa/syscall.h index 6cb0d42f11c8..ea9b5132215e 100644 --- a/include/asm-xtensa/syscall.h +++ b/include/asm-xtensa/syscall.h | |||
@@ -1,3 +1,13 @@ | |||
1 | /* | ||
2 | * include/asm-xtensa/syscall.h | ||
3 | * | ||
4 | * This file is subject to the terms and conditions of the GNU General Public | ||
5 | * License. See the file "COPYING" in the main directory of this archive | ||
6 | * for more details. | ||
7 | * | ||
8 | * Copyright (C) 2001 - 2007 Tensilica Inc. | ||
9 | */ | ||
10 | |||
1 | struct pt_regs; | 11 | struct pt_regs; |
2 | struct sigaction; | 12 | struct sigaction; |
3 | asmlinkage long xtensa_execve(char*, char**, char**, struct pt_regs*); | 13 | asmlinkage long xtensa_execve(char*, char**, char**, struct pt_regs*); |
@@ -17,4 +27,14 @@ asmlinkage long sys_rt_sigaction(int, | |||
17 | const struct sigaction __user *, | 27 | const struct sigaction __user *, |
18 | struct sigaction __user *, | 28 | struct sigaction __user *, |
19 | size_t); | 29 | size_t); |
20 | asmlinkage long xtensa_shmat(int shmid, char __user *shmaddr, int shmflg); | 30 | asmlinkage long xtensa_shmat(int, char __user *, int); |
31 | |||
32 | /* Should probably move to linux/syscalls.h */ | ||
33 | struct pollfd; | ||
34 | asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp, | ||
35 | fd_set __user *exp, struct timespec __user *tsp, void __user *sig); | ||
36 | asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds, | ||
37 | struct timespec __user *tsp, const sigset_t __user *sigmask, | ||
38 | size_t sigsetsize); | ||
39 | |||
40 | |||