summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/compat.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 01:06:06 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 09:08:58 -0800
commit6450578f32cdca587ae5f148e2118b2fcc36bb11 (patch)
tree91ad424aae66d72fc370dc624fca3f42d830675b /include/asm-ia64/compat.h
parentab03591db110e8d195d381a68692eb37da981cdf (diff)
downloadop-kernel-dev-6450578f32cdca587ae5f148e2118b2fcc36bb11.zip
op-kernel-dev-6450578f32cdca587ae5f148e2118b2fcc36bb11.tar.gz
[PATCH] ia64: task_pt_regs()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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 aaf11f4..c0b1910 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);
}
OpenPOWER on IntegriCloud