mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
This backports the following upstream commits all as one patch:54f5de7099ecc1a899371a0ef85f84f106af4e90097eed1038935874141d0ec62d2909c4caa778152ea1d13f64570dcf2c15564b3bffc60067bd8a55f8b72560968c7b49b3ec9206de95b12c6a10161d05d72faa6dbb52d66940e77414e0aaaa65607373Backport done by Greg Kroah-Hartman. Only minor tweaks were needed. Cc: David S. Miller <davem@davemloft.net> Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 */
|