diff options
Diffstat (limited to 'pfinet/glue-include/asm')
-rw-r--r-- | pfinet/glue-include/asm/uaccess.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pfinet/glue-include/asm/uaccess.h b/pfinet/glue-include/asm/uaccess.h index d8373797..6f6dc413 100644 --- a/pfinet/glue-include/asm/uaccess.h +++ b/pfinet/glue-include/asm/uaccess.h @@ -23,6 +23,12 @@ extern int __verify_write(const void *, unsigned long); #define put_user(x,ptr) (*(ptr) = (x), 0) #define get_user(x,ptr) ((x) = *(ptr), 0) +#define __get_user(x,ptr) get_user((x), (ptr)) + +/* This is used to constitute an arbitrarily-sized memory clobber in an asm. */ +struct __large_struct { unsigned long buf[100]; }; +#define __m(x) (*(struct __large_struct *)(x)) + /* * The "xxx_ret" versions return constant specified in third argument, if |