1
2
3
4
5
6
7
8
9
10#ifndef _ASM_X86_SYS_IA32_H
11#define _ASM_X86_SYS_IA32_H
12
13#ifdef CONFIG_COMPAT
14
15#include <linux/compiler.h>
16#include <linux/linkage.h>
17#include <linux/types.h>
18#include <linux/signal.h>
19#include <asm/compat.h>
20#include <asm/ia32.h>
21
22
23asmlinkage long sys32_truncate64(const char __user *, unsigned long, unsigned long);
24asmlinkage long sys32_ftruncate64(unsigned int, unsigned long, unsigned long);
25
26asmlinkage long sys32_stat64(const char __user *, struct stat64 __user *);
27asmlinkage long sys32_lstat64(const char __user *, struct stat64 __user *);
28asmlinkage long sys32_fstat64(unsigned int, struct stat64 __user *);
29asmlinkage long sys32_fstatat(unsigned int, const char __user *,
30 struct stat64 __user *, int);
31struct mmap_arg_struct32;
32asmlinkage long sys32_mmap(struct mmap_arg_struct32 __user *);
33asmlinkage long sys32_mprotect(unsigned long, size_t, unsigned long);
34
35asmlinkage long sys32_alarm(unsigned int);
36
37asmlinkage long sys32_waitpid(compat_pid_t, unsigned int __user *, int);
38asmlinkage long sys32_sysfs(int, u32, u32);
39
40asmlinkage long sys32_pread(unsigned int, char __user *, u32, u32, u32);
41asmlinkage long sys32_pwrite(unsigned int, const char __user *, u32, u32, u32);
42
43asmlinkage long sys32_personality(unsigned long);
44asmlinkage long sys32_sendfile(int, int, compat_off_t __user *, s32);
45
46long sys32_kill(int, int);
47long sys32_fadvise64_64(int, __u32, __u32, __u32, __u32, int);
48long sys32_vm86_warning(void);
49long sys32_lookup_dcookie(u32, u32, char __user *, size_t);
50
51asmlinkage ssize_t sys32_readahead(int, unsigned, unsigned, size_t);
52asmlinkage long sys32_sync_file_range(int, unsigned, unsigned,
53 unsigned, unsigned, int);
54asmlinkage long sys32_fadvise64(int, unsigned, unsigned, size_t, int);
55asmlinkage long sys32_fallocate(int, int, unsigned,
56 unsigned, unsigned, unsigned);
57
58
59asmlinkage long sys32_sigreturn(void);
60asmlinkage long sys32_rt_sigreturn(void);
61
62
63asmlinkage long sys32_ipc(u32, int, int, int, compat_uptr_t, u32);
64
65asmlinkage long sys32_fanotify_mark(int, unsigned int, u32, u32, int,
66 const char __user *);
67
68#endif
69
70#endif
71