diff options
Diffstat (limited to 'include/asm-arm26/uaccess.h')
-rw-r--r-- | include/asm-arm26/uaccess.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-arm26/uaccess.h b/include/asm-arm26/uaccess.h index 3f2dd1093e58..d64ed84cb2d3 100644 --- a/include/asm-arm26/uaccess.h +++ b/include/asm-arm26/uaccess.h | |||
@@ -74,7 +74,7 @@ extern int __get_user_bad(void); | |||
74 | 74 | ||
75 | #define get_user(x,p) \ | 75 | #define get_user(x,p) \ |
76 | ({ \ | 76 | ({ \ |
77 | const register typeof(*(p)) *__p asm("r0") = (p); \ | 77 | register const typeof(*(p)) *__p asm("r0") = (p); \ |
78 | register typeof(*(p)) __r1 asm("r1"); \ | 78 | register typeof(*(p)) __r1 asm("r1"); \ |
79 | register int __e asm("r0"); \ | 79 | register int __e asm("r0"); \ |
80 | switch (sizeof(*(p))) { \ | 80 | switch (sizeof(*(p))) { \ |
@@ -139,8 +139,8 @@ extern int __put_user_bad(void); | |||
139 | 139 | ||
140 | #define put_user(x,p) \ | 140 | #define put_user(x,p) \ |
141 | ({ \ | 141 | ({ \ |
142 | const register typeof(*(p)) __r1 asm("r1") = (x); \ | 142 | register const typeof(*(p)) __r1 asm("r1") = (x); \ |
143 | const register typeof(*(p)) *__p asm("r0") = (p); \ | 143 | register const typeof(*(p)) *__p asm("r0") = (p); \ |
144 | register int __e asm("r0"); \ | 144 | register int __e asm("r0"); \ |
145 | switch (sizeof(*(__p))) { \ | 145 | switch (sizeof(*(__p))) { \ |
146 | case 1: \ | 146 | case 1: \ |
@@ -170,8 +170,8 @@ extern int __put_user_bad(void); | |||
170 | 170 | ||
171 | #define put_user(x,p) \ | 171 | #define put_user(x,p) \ |
172 | ({ \ | 172 | ({ \ |
173 | const register typeof(*(p)) __r1 asm("r1") = (x); \ | 173 | register const typeof(*(p)) __r1 asm("r1") = (x); \ |
174 | const register typeof(*(p)) *__p asm("r0") = (p); \ | 174 | register const typeof(*(p)) *__p asm("r0") = (p); \ |
175 | register int __e asm("r0"); \ | 175 | register int __e asm("r0"); \ |
176 | switch (sizeof(*(p))) { \ | 176 | switch (sizeof(*(p))) { \ |
177 | case 1: \ | 177 | case 1: \ |