]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/sparc/include/asm/compat.h
compat: Make compat_alloc_user_space() incorporate the access_ok()
[karo-tx-linux.git] / arch / sparc / include / asm / compat.h
index 5016f76ea98a6f38510d3dc5a8593a1d871d4f53..6f57325bb883c5553b4781691cd699952bb90ff8 100644 (file)
@@ -167,7 +167,7 @@ static inline compat_uptr_t ptr_to_compat(void __user *uptr)
        return (u32)(unsigned long)uptr;
 }
 
-static inline void __user *compat_alloc_user_space(long len)
+static inline void __user *arch_compat_alloc_user_space(long len)
 {
        struct pt_regs *regs = current_thread_info()->kregs;
        unsigned long usp = regs->u_regs[UREG_I6];