Merge remote-tracking branch 'asoc/topic/pcm5102a' into asoc-next
[linux-2.6-block.git] / arch / x86 / include / asm / sys_ia32.h
CommitLineData
2f06de06
JSR
1/*
2 * sys_ia32.h - Linux ia32 syscall interfaces
3 *
4 * Copyright (c) 2008 Jaswinder Singh Rajput
5 *
6 * This file is released under the GPLv2.
7 * See the file COPYING for more details.
8 */
9
10#ifndef _ASM_X86_SYS_IA32_H
11#define _ASM_X86_SYS_IA32_H
12
a96d692e
PA
13#ifdef CONFIG_COMPAT
14
2f06de06
JSR
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/* ia32/sys_ia32.c */
4ddb45db
DB
23asmlinkage long compat_sys_x86_truncate64(const char __user *, unsigned long,
24 unsigned long);
25asmlinkage long compat_sys_x86_ftruncate64(unsigned int, unsigned long,
26 unsigned long);
2f06de06 27
4ddb45db
DB
28asmlinkage long compat_sys_x86_stat64(const char __user *,
29 struct stat64 __user *);
30asmlinkage long compat_sys_x86_lstat64(const char __user *,
31 struct stat64 __user *);
32asmlinkage long compat_sys_x86_fstat64(unsigned int, struct stat64 __user *);
33asmlinkage long compat_sys_x86_fstatat(unsigned int, const char __user *,
2f06de06 34 struct stat64 __user *, int);
a4679373 35struct mmap_arg_struct32;
4ddb45db 36asmlinkage long compat_sys_x86_mmap(struct mmap_arg_struct32 __user *);
2f06de06 37
4ddb45db
DB
38asmlinkage long compat_sys_x86_waitpid(compat_pid_t, unsigned int __user *,
39 int);
2f06de06 40
4ddb45db
DB
41asmlinkage long compat_sys_x86_pread(unsigned int, char __user *, u32, u32,
42 u32);
43asmlinkage long compat_sys_x86_pwrite(unsigned int, const char __user *, u32,
44 u32, u32);
2f06de06 45
4ddb45db
DB
46asmlinkage long compat_sys_x86_fadvise64_64(int, __u32, __u32, __u32, __u32,
47 int);
2f06de06 48
4ddb45db
DB
49asmlinkage ssize_t compat_sys_x86_readahead(int, unsigned int, unsigned int,
50 size_t);
51asmlinkage long compat_sys_x86_sync_file_range(int, unsigned int, unsigned int,
52 unsigned int, unsigned int,
53 int);
54asmlinkage long compat_sys_x86_fadvise64(int, unsigned int, unsigned int,
55 size_t, int);
56asmlinkage long compat_sys_x86_fallocate(int, int, unsigned int, unsigned int,
57 unsigned int, unsigned int);
af52201d
DB
58asmlinkage long compat_sys_x86_clone(unsigned long, unsigned long, int __user *,
59 unsigned long, int __user *);
2f06de06
JSR
60
61/* ia32/ia32_signal.c */
3fe26fa3
AV
62asmlinkage long sys32_sigreturn(void);
63asmlinkage long sys32_rt_sigreturn(void);
2f06de06 64
a96d692e
PA
65#endif /* CONFIG_COMPAT */
66
2f06de06 67#endif /* _ASM_X86_SYS_IA32_H */