]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm64/include/asm/compat.h
Merge commit 'e26a9e0' into stable/for-linus-3.15
[karo-tx-linux.git] / arch / arm64 / include / asm / compat.h
index fda2704b3f9f9a49354e12dc6b55aaa81638cd5a..e71f81fe127a504838ba86c5290d99ce10b5411f 100644 (file)
@@ -228,7 +228,7 @@ static inline compat_uptr_t ptr_to_compat(void __user *uptr)
        return (u32)(unsigned long)uptr;
 }
 
-#define compat_user_stack_pointer() (current_pt_regs()->compat_sp)
+#define compat_user_stack_pointer() (user_stack_pointer(current_pt_regs()))
 
 static inline void __user *arch_compat_alloc_user_space(long len)
 {