summaryrefslogtreecommitdiffstats
path: root/arch/score
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-06-19 13:40:41 +0200
committerArnd Bergmann <arnd@arndb.de>2009-06-19 14:10:46 +0200
commit2f476ef61f0e00fe3fcb96693b6a624a6c52fad9 (patch)
tree442438395c825899d53bed4f641161d6c78087d5 /arch/score
parentb5022df4c275607f0824526eceb3c217e85279f3 (diff)
downloadop-kernel-dev-2f476ef61f0e00fe3fcb96693b6a624a6c52fad9.zip
op-kernel-dev-2f476ef61f0e00fe3fcb96693b6a624a6c52fad9.tar.gz
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>
Diffstat (limited to 'arch/score')
-rw-r--r--arch/score/include/asm/syscalls.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/score/include/asm/syscalls.h b/arch/score/include/asm/syscalls.h
index 00c28e0..1dd5e0d 100644
--- a/arch/score/include/asm/syscalls.h
+++ b/arch/score/include/asm/syscalls.h
@@ -1,8 +1,10 @@
#ifndef _ASM_SCORE_SYSCALLS_H
#define _ASM_SCORE_SYSCALLS_H
-asmlinkage long sys_clone(int flags, unsigned long stack, struct pt_regs *regs);
-#define sys_clone sys_clone
+asmlinkage long score_clone(struct pt_regs *regs);
+asmlinkage long score_execve(struct pt_regs *regs);
+asmlinkage long score_sigaltstack(struct pt_regs *regs);
+asmlinkage long score_rt_sigreturn(struct pt_regs *regs);
#include <asm-generic/syscalls.h>
OpenPOWER on IntegriCloud