浏览代码

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>
Arnd Bergmann 16 年之前
父节点
当前提交
2f476ef61f
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      arch/score/include/asm/syscalls.h

+ 4 - 2
arch/score/include/asm/syscalls.h

@@ -1,8 +1,10 @@
 #ifndef _ASM_SCORE_SYSCALLS_H
 #ifndef _ASM_SCORE_SYSCALLS_H
 #define _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>
 #include <asm-generic/syscalls.h>