aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/uaccess_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/uaccess_32.h')
-rw-r--r--include/asm-x86/uaccess_32.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-x86/uaccess_32.h b/include/asm-x86/uaccess_32.h
index 8e7595c1f34e..0ecfe47ad60d 100644
--- a/include/asm-x86/uaccess_32.h
+++ b/include/asm-x86/uaccess_32.h
@@ -188,23 +188,23 @@ extern void __put_user_8(void);
188 188
189#define __put_user_1(x, ptr) \ 189#define __put_user_1(x, ptr) \
190 asm volatile("call __put_user_1" : "=a" (__ret_pu) \ 190 asm volatile("call __put_user_1" : "=a" (__ret_pu) \
191 : "0" ((typeof(*(ptr)))(x)), "c" (ptr)) 191 : "0" ((typeof(*(ptr)))(x)), "c" (ptr) : "ebx")
192 192
193#define __put_user_2(x, ptr) \ 193#define __put_user_2(x, ptr) \
194 asm volatile("call __put_user_2" : "=a" (__ret_pu) \ 194 asm volatile("call __put_user_2" : "=a" (__ret_pu) \
195 : "0" ((typeof(*(ptr)))(x)), "c" (ptr)) 195 : "0" ((typeof(*(ptr)))(x)), "c" (ptr) : "ebx")
196 196
197#define __put_user_4(x, ptr) \ 197#define __put_user_4(x, ptr) \
198 asm volatile("call __put_user_4" : "=a" (__ret_pu) \ 198 asm volatile("call __put_user_4" : "=a" (__ret_pu) \
199 : "0" ((typeof(*(ptr)))(x)), "c" (ptr)) 199 : "0" ((typeof(*(ptr)))(x)), "c" (ptr) : "ebx")
200 200
201#define __put_user_8(x, ptr) \ 201#define __put_user_8(x, ptr) \
202 asm volatile("call __put_user_8" : "=a" (__ret_pu) \ 202 asm volatile("call __put_user_8" : "=a" (__ret_pu) \
203 : "A" ((typeof(*(ptr)))(x)), "c" (ptr)) 203 : "A" ((typeof(*(ptr)))(x)), "c" (ptr) : "ebx")
204 204
205#define __put_user_X(x, ptr) \ 205#define __put_user_X(x, ptr) \
206 asm volatile("call __put_user_X" : "=a" (__ret_pu) \ 206 asm volatile("call __put_user_X" : "=a" (__ret_pu) \
207 : "c" (ptr)) 207 : "c" (ptr): "ebx")
208 208
209/** 209/**
210 * put_user: - Write a simple value into user space. 210 * put_user: - Write a simple value into user space.