x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / x86 / include / asm / sys_ia32.h
blob82c34ee25a651760c9950ce6c54625896fd9ea2f
1 /*
2 * sys_ia32.h - Linux ia32 syscall interfaces
4 * Copyright (c) 2008 Jaswinder Singh Rajput
6 * This file is released under the GPLv2.
7 * See the file COPYING for more details.
8 */
10 #ifndef _ASM_X86_SYS_IA32_H
11 #define _ASM_X86_SYS_IA32_H
13 #ifdef CONFIG_COMPAT
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>
22 /* ia32/sys_ia32.c */
23 asmlinkage long sys32_truncate64(const char __user *, unsigned long, unsigned long);
24 asmlinkage long sys32_ftruncate64(unsigned int, unsigned long, unsigned long);
26 asmlinkage long sys32_stat64(const char __user *, struct stat64 __user *);
27 asmlinkage long sys32_lstat64(const char __user *, struct stat64 __user *);
28 asmlinkage long sys32_fstat64(unsigned int, struct stat64 __user *);
29 asmlinkage long sys32_fstatat(unsigned int, const char __user *,
30 struct stat64 __user *, int);
31 struct mmap_arg_struct32;
32 asmlinkage long sys32_mmap(struct mmap_arg_struct32 __user *);
34 asmlinkage long sys32_waitpid(compat_pid_t, unsigned int __user *, int);
36 asmlinkage long sys32_pread(unsigned int, char __user *, u32, u32, u32);
37 asmlinkage long sys32_pwrite(unsigned int, const char __user *, u32, u32, u32);
39 long sys32_fadvise64_64(int, __u32, __u32, __u32, __u32, int);
40 long sys32_vm86_warning(void);
42 asmlinkage ssize_t sys32_readahead(int, unsigned, unsigned, size_t);
43 asmlinkage long sys32_sync_file_range(int, unsigned, unsigned,
44 unsigned, unsigned, int);
45 asmlinkage long sys32_fadvise64(int, unsigned, unsigned, size_t, int);
46 asmlinkage long sys32_fallocate(int, int, unsigned,
47 unsigned, unsigned, unsigned);
49 /* ia32/ia32_signal.c */
50 asmlinkage long sys32_sigreturn(void);
51 asmlinkage long sys32_rt_sigreturn(void);
53 #endif /* CONFIG_COMPAT */
55 #endif /* _ASM_X86_SYS_IA32_H */