]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/c6x/include/asm/unistd.h
c6x: switch to generic kernel_execve
[karo-tx-linux.git] / arch / c6x / include / asm / unistd.h
1 /*
2  * Copyright (C) 2011 Texas Instruments Incorporated
3  *
4  * Based on arch/tile version.
5  *
6  *   This program is free software; you can redistribute it and/or
7  *   modify it under the terms of the GNU General Public License
8  *   as published by the Free Software Foundation, version 2.
9  *
10  *   This program is distributed in the hope that it will be useful, but
11  *   WITHOUT ANY WARRANTY; without even the implied warranty of
12  *   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
13  *   NON INFRINGEMENT.  See the GNU General Public License for
14  *   more details.
15  */
16 #if !defined(_ASM_C6X_UNISTD_H) || defined(__SYSCALL)
17 #define _ASM_C6X_UNISTD_H
18
19 #define __ARCH_WANT_KERNEL_EXECVE
20
21 /* Use the standard ABI for syscalls. */
22 #include <asm-generic/unistd.h>
23
24 /* C6X-specific syscalls. */
25 #define __NR_cache_sync (__NR_arch_specific_syscall + 0)
26 __SYSCALL(__NR_cache_sync, sys_cache_sync)
27
28 #endif /* _ASM_C6X_UNISTD_H */