unistd.h (f4091322d7397c8eb85c071570cab0e82ee3e261) unistd.h (39d91a9eafec7524482e70af76ccbe803dce5b8e)
1/*
2 * OpenRISC Linux
3 *
4 * Linux architectural port borrowing liberally from similar works of
5 * others. All original copyrights apply as per the original source
6 * declaration.
7 *
8 * OpenRISC implementation:

--- 7 unchanged lines hidden (view full) ---

16 * (at your option) any later version.
17 */
18
19#define __ARCH_HAVE_MMU
20
21#define sys_mmap2 sys_mmap_pgoff
22
23#define __ARCH_WANT_SYS_EXECVE
1/*
2 * OpenRISC Linux
3 *
4 * Linux architectural port borrowing liberally from similar works of
5 * others. All original copyrights apply as per the original source
6 * declaration.
7 *
8 * OpenRISC implementation:

--- 7 unchanged lines hidden (view full) ---

16 * (at your option) any later version.
17 */
18
19#define __ARCH_HAVE_MMU
20
21#define sys_mmap2 sys_mmap_pgoff
22
23#define __ARCH_WANT_SYS_EXECVE
24#define __ARCH_WANT_SYS_FORK
25#define __ARCH_WANT_SYS_CLONE
24
25#include <asm-generic/unistd.h>
26
27#define __NR_or1k_atomic __NR_arch_specific_syscall
28__SYSCALL(__NR_or1k_atomic, sys_or1k_atomic)
26
27#include <asm-generic/unistd.h>
28
29#define __NR_or1k_atomic __NR_arch_specific_syscall
30__SYSCALL(__NR_or1k_atomic, sys_or1k_atomic)