1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18#ifndef _ASM_TILE_SYSCALLS_H
19#define _ASM_TILE_SYSCALLS_H
20
21#include <linux/compiler.h>
22#include <linux/linkage.h>
23#include <linux/signal.h>
24#include <linux/types.h>
25#include <linux/compat.h>
26
27
28
29
30
31
32
33
34
35ssize_t sys32_readahead(int fd, u32 offset_lo, u32 offset_hi, u32 count);
36long sys32_fadvise64(int fd, u32 offset_lo, u32 offset_hi,
37 u32 len, int advice);
38int sys32_fadvise64_64(int fd, u32 offset_lo, u32 offset_hi,
39 u32 len_lo, u32 len_hi, int advice);
40long sys_cacheflush(unsigned long addr, unsigned long len,
41 unsigned long flags);
42#ifndef __tilegx__
43#define sys_mmap sys_mmap
44#endif
45
46#ifndef __tilegx__
47
48long sys_cmpxchg_badaddr(unsigned long address);
49#endif
50
51#ifdef CONFIG_COMPAT
52
53long sys_fcntl64(unsigned int fd, unsigned int cmd, unsigned long arg);
54long sys_fstat64(unsigned long fd, struct stat64 __user *statbuf);
55long sys_truncate64(const char __user *path, loff_t length);
56long sys_ftruncate64(unsigned int fd, loff_t length);
57#endif
58
59
60long sys_rt_sigreturn(void);
61#define sys_rt_sigreturn sys_rt_sigreturn
62
63
64long _sys_rt_sigreturn(void);
65long _sys_clone(unsigned long clone_flags, unsigned long newsp,
66 void __user *parent_tid, void __user *child_tid);
67
68#include <asm-generic/syscalls.h>
69
70#endif
71