23 |
|
|
24 |
#define put_user(x,ptr) (*(ptr) = (x), 0) |
#define put_user(x,ptr) (*(ptr) = (x), 0) |
25 |
#define get_user(x,ptr) ((x) = *(ptr), 0) |
#define get_user(x,ptr) ((x) = *(ptr), 0) |
26 |
|
#define __get_user(x,ptr) get_user((x), (ptr)) |
27 |
|
|
28 |
|
/* This is used to constitute an arbitrarily-sized memory clobber in an asm. */ |
29 |
|
struct __large_struct { unsigned long buf[100]; }; |
30 |
|
#define __m(x) (*(struct __large_struct *)(x)) |
31 |
|
|
32 |
|
|
33 |
/* |
/* |
34 |
* The "xxx_ret" versions return constant specified in third argument, if |
* The "xxx_ret" versions return constant specified in third argument, if |