OMAP: Add new function to check wether there is irq pending
[linux-ginger.git] / arch / x86 / include / asm / sys_ia32.h
blob72a6dcd1299b6154562f5717c9ef751a9e287dc2
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 #include <linux/compiler.h>
14 #include <linux/linkage.h>
15 #include <linux/types.h>
16 #include <linux/signal.h>
17 #include <asm/compat.h>
18 #include <asm/ia32.h>
20 /* ia32/sys_ia32.c */
21 asmlinkage long sys32_truncate64(char __user *, unsigned long, unsigned long);
22 asmlinkage long sys32_ftruncate64(unsigned int, unsigned long, unsigned long);
24 asmlinkage long sys32_stat64(char __user *, struct stat64 __user *);
25 asmlinkage long sys32_lstat64(char __user *, struct stat64 __user *);
26 asmlinkage long sys32_fstat64(unsigned int, struct stat64 __user *);
27 asmlinkage long sys32_fstatat(unsigned int, char __user *,
28 struct stat64 __user *, int);
29 struct mmap_arg_struct;
30 asmlinkage long sys32_mmap(struct mmap_arg_struct __user *);
31 asmlinkage long sys32_mprotect(unsigned long, size_t, unsigned long);
33 asmlinkage long sys32_pipe(int __user *);
34 struct sigaction32;
35 struct old_sigaction32;
36 asmlinkage long sys32_rt_sigaction(int, struct sigaction32 __user *,
37 struct sigaction32 __user *, unsigned int);
38 asmlinkage long sys32_sigaction(int, struct old_sigaction32 __user *,
39 struct old_sigaction32 __user *);
40 asmlinkage long sys32_rt_sigprocmask(int, compat_sigset_t __user *,
41 compat_sigset_t __user *, unsigned int);
42 asmlinkage long sys32_alarm(unsigned int);
44 struct sel_arg_struct;
45 asmlinkage long sys32_old_select(struct sel_arg_struct __user *);
46 asmlinkage long sys32_waitpid(compat_pid_t, unsigned int *, int);
47 asmlinkage long sys32_sysfs(int, u32, u32);
49 asmlinkage long sys32_sched_rr_get_interval(compat_pid_t,
50 struct compat_timespec __user *);
51 asmlinkage long sys32_rt_sigpending(compat_sigset_t __user *, compat_size_t);
52 asmlinkage long sys32_rt_sigqueueinfo(int, int, compat_siginfo_t __user *);
54 #ifdef CONFIG_SYSCTL_SYSCALL
55 struct sysctl_ia32;
56 asmlinkage long sys32_sysctl(struct sysctl_ia32 __user *);
57 #endif
59 asmlinkage long sys32_pread(unsigned int, char __user *, u32, u32, u32);
60 asmlinkage long sys32_pwrite(unsigned int, char __user *, u32, u32, u32);
62 asmlinkage long sys32_personality(unsigned long);
63 asmlinkage long sys32_sendfile(int, int, compat_off_t __user *, s32);
65 asmlinkage long sys32_mmap2(unsigned long, unsigned long, unsigned long,
66 unsigned long, unsigned long, unsigned long);
68 struct oldold_utsname;
69 struct old_utsname;
70 asmlinkage long sys32_olduname(struct oldold_utsname __user *);
71 long sys32_uname(struct old_utsname __user *);
73 asmlinkage long sys32_execve(char __user *, compat_uptr_t __user *,
74 compat_uptr_t __user *, struct pt_regs *);
75 asmlinkage long sys32_clone(unsigned int, unsigned int, struct pt_regs *);
77 long sys32_lseek(unsigned int, int, unsigned int);
78 long sys32_kill(int, int);
79 long sys32_fadvise64_64(int, __u32, __u32, __u32, __u32, int);
80 long sys32_vm86_warning(void);
81 long sys32_lookup_dcookie(u32, u32, char __user *, size_t);
83 asmlinkage ssize_t sys32_readahead(int, unsigned, unsigned, size_t);
84 asmlinkage long sys32_sync_file_range(int, unsigned, unsigned,
85 unsigned, unsigned, int);
86 asmlinkage long sys32_fadvise64(int, unsigned, unsigned, size_t, int);
87 asmlinkage long sys32_fallocate(int, int, unsigned,
88 unsigned, unsigned, unsigned);
90 /* ia32/ia32_signal.c */
91 asmlinkage long sys32_sigsuspend(int, int, old_sigset_t);
92 asmlinkage long sys32_sigaltstack(const stack_ia32_t __user *,
93 stack_ia32_t __user *, struct pt_regs *);
94 asmlinkage long sys32_sigreturn(struct pt_regs *);
95 asmlinkage long sys32_rt_sigreturn(struct pt_regs *);
97 /* ia32/ipc32.c */
98 asmlinkage long sys32_ipc(u32, int, int, int, compat_uptr_t, u32);
99 #endif /* _ASM_X86_SYS_IA32_H */