--- arch/ia64/include/asm/compat.h | 5 +++++ 1 file changed, 5 insertions(+) --- a/arch/ia64/include/asm/compat.h +++ b/arch/ia64/include/asm/compat.h @@ -204,4 +204,9 @@ arch_compat_alloc_user_space (long len) return (void __user *) (((regs->r12 & 0xffffffff) & -16) - len); } +/* for !COMPAT this is defined in linux/compat.h */ +#ifdef CONFIG_COMPAT +#define is_compat_task() (0) +#endif + #endif /* _ASM_IA64_COMPAT_H */