diff options
Diffstat (limited to 'include/asm-m68k/uaccess.h')
-rw-r--r-- | include/asm-m68k/uaccess.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-m68k/uaccess.h b/include/asm-m68k/uaccess.h index 605e6cb811f8..f5cedf19cf68 100644 --- a/include/asm-m68k/uaccess.h +++ b/include/asm-m68k/uaccess.h | |||
@@ -14,12 +14,6 @@ | |||
14 | /* We let the MMU do all checking */ | 14 | /* We let the MMU do all checking */ |
15 | #define access_ok(type,addr,size) 1 | 15 | #define access_ok(type,addr,size) 1 |
16 | 16 | ||
17 | /* this function will go away soon - use access_ok() instead */ | ||
18 | static inline int __deprecated verify_area(int type, const void *addr, unsigned long size) | ||
19 | { | ||
20 | return access_ok(type,addr,size) ? 0 : -EFAULT; | ||
21 | } | ||
22 | |||
23 | /* | 17 | /* |
24 | * The exception table consists of pairs of addresses: the first is the | 18 | * The exception table consists of pairs of addresses: the first is the |
25 | * address of an instruction that is allowed to fault, and the second is | 19 | * address of an instruction that is allowed to fault, and the second is |