X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fasm-ia64%2Fcompat.h;h=c0b19106665ca1d45bc0e8e3c20bd76190a981e1;hb=b8c475be7bf9b79e6417c08d7a921b2e8cb04258;hp=aaf11f4e916997643d60c7d45fb4718ac5092363;hpb=55faed1e607a24ca7f3453a3eb463ca8987f8139;p=karo-tx-linux.git 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); }