diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-01-18 13:42:18 +0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-11 18:30:38 +0400 |
commit | 4adeefe161a74369e44cc8e663f240ece0470dc3 (patch) | |
tree | e5b243c62c0f0d5f8c21b9d856ef350282bfec25 /arch/arc/include/asm/syscalls.h | |
parent | 054419ed8405da7aa93f88f698d696980efd3e37 (diff) | |
download | linux-4adeefe161a74369e44cc8e663f240ece0470dc3.tar.xz |
ARC: Syscall support (no-legacy-syscall ABI)
This includes support for generic clone/for/vfork/execve
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arc/include/asm/syscalls.h')
-rw-r--r-- | arch/arc/include/asm/syscalls.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arc/include/asm/syscalls.h b/arch/arc/include/asm/syscalls.h new file mode 100644 index 000000000000..e53a5340ba4f --- /dev/null +++ b/arch/arc/include/asm/syscalls.h @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef _ASM_ARC_SYSCALLS_H +#define _ASM_ARC_SYSCALLS_H 1 + +#ifdef __KERNEL__ + +#include <linux/compiler.h> +#include <linux/linkage.h> +#include <linux/types.h> + +int sys_clone_wrapper(int, int, int, int, int); +int sys_fork_wrapper(void); +int sys_vfork_wrapper(void); +int sys_cacheflush(uint32_t, uint32_t uint32_t); +int sys_arc_settls(void *); +int sys_arc_gettls(void); + +#include <asm-generic/syscalls.h> + +#endif /* __KERNEL__ */ + +#endif |