Merge branches 'fixes', 'misc' and 'spectre' into for-next
[sfrench/cifs-2.6.git] / arch / arm / include / asm / uaccess.h
index a5807b67ca8a31702345d5af47fff41aaa2cf391..c136eef8f690be60bba14f6a871dff286a5942f0 100644 (file)
@@ -193,7 +193,7 @@ extern int __get_user_64t_4(void *);
 #define __get_user_check(x, p)                                         \
        ({                                                              \
                unsigned long __limit = current_thread_info()->addr_limit - 1; \
-               register const typeof(*(p)) __user *__p asm("r0") = (p);\
+               register typeof(*(p)) __user *__p asm("r0") = (p);      \
                register __inttype(x) __r2 asm("r2");                   \
                register unsigned long __l asm("r1") = __limit;         \
                register int __e asm("r0");                             \