mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 06:36:43 +07:00
f8b7256096
New helper - sys_mmap_pgoff(); switch syscalls to using it. Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
36 lines
983 B
C
36 lines
983 B
C
/*
|
|
* syscalls.h - Linux syscall interfaces (arch-specific)
|
|
*
|
|
* Copyright (c) 2008 Jaswinder Singh
|
|
*
|
|
* This file is released under the GPLv2.
|
|
* See the file COPYING for more details.
|
|
*/
|
|
|
|
#ifndef _ASM_AVR32_SYSCALLS_H
|
|
#define _ASM_AVR32_SYSCALLS_H
|
|
|
|
#include <linux/compiler.h>
|
|
#include <linux/linkage.h>
|
|
#include <linux/types.h>
|
|
#include <linux/signal.h>
|
|
|
|
/* kernel/process.c */
|
|
asmlinkage int sys_fork(struct pt_regs *);
|
|
asmlinkage int sys_clone(unsigned long, unsigned long,
|
|
unsigned long, unsigned long,
|
|
struct pt_regs *);
|
|
asmlinkage int sys_vfork(struct pt_regs *);
|
|
asmlinkage int sys_execve(char __user *, char __user *__user *,
|
|
char __user *__user *, struct pt_regs *);
|
|
|
|
/* kernel/signal.c */
|
|
asmlinkage int sys_sigaltstack(const stack_t __user *, stack_t __user *,
|
|
struct pt_regs *);
|
|
asmlinkage int sys_rt_sigreturn(struct pt_regs *);
|
|
|
|
/* mm/cache.c */
|
|
asmlinkage int sys_cacheflush(int, void __user *, size_t);
|
|
|
|
#endif /* _ASM_AVR32_SYSCALLS_H */
|