diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2009-06-19 07:40:41 -0400 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2009-06-19 08:10:46 -0400 |
| commit | 2f476ef61f0e00fe3fcb96693b6a624a6c52fad9 (patch) | |
| tree | 442438395c825899d53bed4f641161d6c78087d5 | |
| parent | b5022df4c275607f0824526eceb3c217e85279f3 (diff) | |
score: add prototypes for wrapped syscalls
Every system call should be declared, so this adds missing
declarations for the ones we were missing so far.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| -rw-r--r-- | arch/score/include/asm/syscalls.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/score/include/asm/syscalls.h b/arch/score/include/asm/syscalls.h index 00c28e04fdfc..1dd5e0d6b0c3 100644 --- a/arch/score/include/asm/syscalls.h +++ b/arch/score/include/asm/syscalls.h | |||
| @@ -1,8 +1,10 @@ | |||
| 1 | #ifndef _ASM_SCORE_SYSCALLS_H | 1 | #ifndef _ASM_SCORE_SYSCALLS_H |
| 2 | #define _ASM_SCORE_SYSCALLS_H | 2 | #define _ASM_SCORE_SYSCALLS_H |
| 3 | 3 | ||
| 4 | asmlinkage long sys_clone(int flags, unsigned long stack, struct pt_regs *regs); | 4 | asmlinkage long score_clone(struct pt_regs *regs); |
| 5 | #define sys_clone sys_clone | 5 | asmlinkage long score_execve(struct pt_regs *regs); |
| 6 | asmlinkage long score_sigaltstack(struct pt_regs *regs); | ||
| 7 | asmlinkage long score_rt_sigreturn(struct pt_regs *regs); | ||
| 6 | 8 | ||
| 7 | #include <asm-generic/syscalls.h> | 9 | #include <asm-generic/syscalls.h> |
| 8 | 10 | ||
