| #ifdef CONFIG_IA32_EMULATION |
| #include <linux/compat.h> |
| * 32 bit structures for IA32 support. |
| #include <uapi/asm/sigcontext.h> |
| struct sigcontext_32 uc_mcontext; |
| compat_sigset_t uc_sigmask; /* mask last for extensibility */ |
| /* This matches struct stat64 in glibc2.2, hence the absolutely |
| * insane amounts of padding around dev_t's. |
| unsigned long long st_dev; |
| #define STAT64_HAS_BROKEN_ST_INO 1 |
| unsigned long long st_rdev; |
| long long st_blocks;/* Number 512-byte blocks allocated */ |
| unsigned long long st_ino; |
| } __attribute__((packed)); |
| #define IA32_STACK_TOP IA32_PAGE_OFFSET |
| extern int ia32_setup_arg_pages(struct linux_binprm *bprm, |
| unsigned long stack_top, int exec_stack); |
| extern void ia32_pick_mmap_layout(struct mm_struct *mm); |
| #endif /* !CONFIG_IA32_SUPPORT */ |
| #endif /* _ASM_X86_IA32_H */ |