Sfoglia il codice sorgente

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 anni fa
parent
commit
2f476ef61f
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  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
 #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>