Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f476ef6 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
parent b5022df4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
#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>