ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-ia64 / ia32.h
1 #ifndef _ASM_IA64_IA32_H
2 #define _ASM_IA64_IA32_H
3
4 #include <linux/config.h>
5
6 #include <asm/ptrace.h>
7 #include <asm/signal.h>
8
9 #define IA32_NR_syscalls                283 /* length of syscall table */
10
11 #ifndef __ASSEMBLY__
12
13 # ifdef CONFIG_IA32_SUPPORT
14
15 extern void ia32_cpu_init (void);
16 extern void ia32_boot_gdt_init (void);
17 extern void ia32_gdt_init (void);
18 extern int ia32_exception (struct pt_regs *regs, unsigned long isr);
19 extern int ia32_intercept (struct pt_regs *regs, unsigned long isr);
20 extern int ia32_clone_tls (struct task_struct *child, struct pt_regs *childregs);
21
22 # endif /* !CONFIG_IA32_SUPPORT */
23
24 /* Declare this unconditionally, so we don't get warnings for unreachable code.  */
25 extern int ia32_setup_frame1 (int sig, struct k_sigaction *ka, siginfo_t *info,
26                               sigset_t *set, struct pt_regs *regs);
27
28 #endif /* !__ASSEMBLY__ */
29
30 #endif /* _ASM_IA64_IA32_H */