Jaswinder Singh | c80ce2d | 2008-07-25 13:48:38 +0530 | [diff] [blame] | 1 | /* |
| 2 | * syscalls.h - Linux syscall interfaces (arch-specific) |
| 3 | * |
| 4 | * Copyright (c) 2008 Jaswinder Singh |
| 5 | * |
| 6 | * This file is released under the GPLv2. |
| 7 | * See the file COPYING for more details. |
| 8 | */ |
| 9 | |
| 10 | #ifndef _ASM_AVR32_SYSCALLS_H |
| 11 | #define _ASM_AVR32_SYSCALLS_H |
| 12 | |
| 13 | #include <linux/compiler.h> |
| 14 | #include <linux/linkage.h> |
| 15 | #include <linux/types.h> |
| 16 | #include <linux/signal.h> |
| 17 | |
| 18 | /* kernel/process.c */ |
| 19 | asmlinkage int sys_fork(struct pt_regs *); |
| 20 | asmlinkage int sys_clone(unsigned long, unsigned long, |
| 21 | unsigned long, unsigned long, |
| 22 | struct pt_regs *); |
| 23 | asmlinkage int sys_vfork(struct pt_regs *); |
David Howells | c788732 | 2010-08-11 11:26:22 +0100 | [diff] [blame] | 24 | asmlinkage int sys_execve(const char __user *, char __user *__user *, |
Jaswinder Singh | c80ce2d | 2008-07-25 13:48:38 +0530 | [diff] [blame] | 25 | char __user *__user *, struct pt_regs *); |
| 26 | |
| 27 | /* kernel/signal.c */ |
| 28 | asmlinkage int sys_sigaltstack(const stack_t __user *, stack_t __user *, |
| 29 | struct pt_regs *); |
| 30 | asmlinkage int sys_rt_sigreturn(struct pt_regs *); |
| 31 | |
Jaswinder Singh | c80ce2d | 2008-07-25 13:48:38 +0530 | [diff] [blame] | 32 | /* mm/cache.c */ |
| 33 | asmlinkage int sys_cacheflush(int, void __user *, size_t); |
| 34 | |
| 35 | #endif /* _ASM_AVR32_SYSCALLS_H */ |