19 #include <linux/errno.h>
20 #include <linux/sched.h>
24 #include <linux/mman.h>
26 #include <linux/mempolicy.h>
27 #include <linux/binfmts.h>
31 #include <linux/signal.h>
32 #include <asm/syscalls.h>
33 #include <asm/pgtable.h>
35 #include <asm/cachectl.h>
58 #if !defined(__tilegx__) || defined(CONFIG_COMPAT)
62 return sys_readahead(fd, ((loff_t)offset_hi << 32) | offset_lo, count);
66 u32 len_lo,
u32 len_hi,
int advice)
69 ((loff_t)len_hi << 32) | len_lo, advice);
76 unsigned long, prot,
unsigned long,
flags,
77 unsigned long,
fd,
unsigned long, off_4k)
79 #define PAGE_ADJUST (PAGE_SHIFT - 12)
88 unsigned long, prot,
unsigned long,
flags,
101 #define __SYSCALL(nr, call) [nr] = (call),
105 #define sys_fadvise64_64 sys32_fadvise64_64
106 #define sys_readahead sys32_readahead
110 #define sys_execve _sys_execve
111 #define sys_sigaltstack _sys_sigaltstack
112 #define sys_rt_sigreturn _sys_rt_sigreturn
113 #define sys_clone _sys_clone
115 #define sys_cmpxchg_badaddr _sys_cmpxchg_badaddr
124 #include <asm/unistd.h>