aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/include/asm/uaccess.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/microblaze/include/asm/uaccess.h b/arch/microblaze/include/asm/uaccess.h
index 5a3ffc308e12..a4e171d49d15 100644
--- a/arch/microblaze/include/asm/uaccess.h
+++ b/arch/microblaze/include/asm/uaccess.h
@@ -34,10 +34,9 @@ extern int ___range_ok(unsigned long addr, unsigned long size);
34#define access_ok(type, addr, size) (__range_ok((addr), (size)) == 0) 34#define access_ok(type, addr, size) (__range_ok((addr), (size)) == 0)
35#define __access_ok(add, size) (__range_ok((addr), (size)) == 0) 35#define __access_ok(add, size) (__range_ok((addr), (size)) == 0)
36 36
37extern inline int bad_user_access_length(void) 37/* Undefined function to trigger linker error */
38{ 38extern int bad_user_access_length(void);
39 return 0; 39
40}
41/* FIXME this is function for optimalization -> memcpy */ 40/* FIXME this is function for optimalization -> memcpy */
42#define __get_user(var, ptr) \ 41#define __get_user(var, ptr) \
43 ({ \ 42 ({ \