diff options
author | Michal Simek | 2011-02-07 12:22:55 +0100 |
---|---|---|
committer | Michal Simek | 2011-03-09 08:09:58 +0100 |
commit | 4302e5254a8a9e726db444763be1e95e063406fb (patch) | |
tree | a4f023a1949bcf507cb88b55d666e700832592ad /arch/microblaze/include/asm | |
parent | microblaze: Fix sparse warnings - cache.c (diff) | |
download | kernel-qcow2-linux-4302e5254a8a9e726db444763be1e95e063406fb.tar.gz kernel-qcow2-linux-4302e5254a8a9e726db444763be1e95e063406fb.tar.xz kernel-qcow2-linux-4302e5254a8a9e726db444763be1e95e063406fb.zip |
microblaze: Fix missing microblaze specific syscalls declaration
Warning log:
CHECK arch/microblaze/kernel/sys_microblaze.c
arch/microblaze/kernel/sys_microblaze.c:37:17: warning: symbol 'microblaze_vfork' was not declared. Should it be static?
arch/microblaze/kernel/sys_microblaze.c:43:17: warning: symbol 'microblaze_clone' was not declared. Should it be static?
arch/microblaze/kernel/sys_microblaze.c:50:17: warning: symbol 'microblaze_execve' was not declared. Should it be static?
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm')
-rw-r--r-- | arch/microblaze/include/asm/syscalls.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/syscalls.h b/arch/microblaze/include/asm/syscalls.h index 720761cc741f..27f2f4c0f39f 100644 --- a/arch/microblaze/include/asm/syscalls.h +++ b/arch/microblaze/include/asm/syscalls.h @@ -1,5 +1,13 @@ #ifndef __ASM_MICROBLAZE_SYSCALLS_H +asmlinkage long microblaze_vfork(struct pt_regs *regs); +asmlinkage long microblaze_clone(int flags, unsigned long stack, + struct pt_regs *regs); +asmlinkage long microblaze_execve(const char __user *filenamei, + const char __user *const __user *argv, + const char __user *const __user *envp, + struct pt_regs *regs); + asmlinkage long sys_clone(int flags, unsigned long stack, struct pt_regs *regs); #define sys_clone sys_clone |