summaryrefslogtreecommitdiff
path: root/include/asm-ia64/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/compat.h')
-rw-r--r--include/asm-ia64/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/compat.h b/include/asm-ia64/compat.h
index aaf11f4e9169..c0b19106665c 100644
--- a/include/asm-ia64/compat.h
+++ b/include/asm-ia64/compat.h
@@ -192,7 +192,7 @@ compat_ptr (compat_uptr_t uptr)
static __inline__ void __user *
compat_alloc_user_space (long len)
{
- struct pt_regs *regs = ia64_task_regs(current);
+ struct pt_regs *regs = task_pt_regs(current);
return (void __user *) (((regs->r12 & 0xffffffff) & -16) - len);
}