diff options
-rw-r--r-- | include/asm-arm/uaccess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/uaccess.h b/include/asm-arm/uaccess.h index 87aba57a66c4..09ad0cab9014 100644 --- a/include/asm-arm/uaccess.h +++ b/include/asm-arm/uaccess.h | |||
@@ -110,7 +110,7 @@ extern int __get_user_4(void *); | |||
110 | #define get_user(x,p) \ | 110 | #define get_user(x,p) \ |
111 | ({ \ | 111 | ({ \ |
112 | const register typeof(*(p)) __user *__p asm("r0") = (p);\ | 112 | const register typeof(*(p)) __user *__p asm("r0") = (p);\ |
113 | register unsigned int __r2 asm("r2"); \ | 113 | register unsigned long __r2 asm("r2"); \ |
114 | register int __e asm("r0"); \ | 114 | register int __e asm("r0"); \ |
115 | switch (sizeof(*(__p))) { \ | 115 | switch (sizeof(*(__p))) { \ |
116 | case 1: \ | 116 | case 1: \ |