diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-04 00:05:00 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-28 03:15:20 +0200 |
commit | 81029b1f775ad55caeaa8f7f260273969a4a282e (patch) | |
tree | 8f70e9f9cc5c441387a2a9586df73c1f579f9d9e /arch/mn10300/include | |
parent | frv: move HAVE_ARCH_UNMAPPED_AREA to pgtable.h (diff) | |
download | linux-81029b1f775ad55caeaa8f7f260273969a4a282e.tar.xz linux-81029b1f775ad55caeaa8f7f260273969a4a282e.zip |
mn10300: finish verify_area() off
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mn10300/include')
-rw-r--r-- | arch/mn10300/include/asm/uaccess.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mn10300/include/asm/uaccess.h b/arch/mn10300/include/asm/uaccess.h index d012e877a95a..bd285e5fd93a 100644 --- a/arch/mn10300/include/asm/uaccess.h +++ b/arch/mn10300/include/asm/uaccess.h @@ -72,12 +72,6 @@ static inline int ___range_ok(unsigned long addr, unsigned int size) #define access_ok(type, addr, size) (__range_ok((addr), (size)) == 0) #define __access_ok(addr, size) (__range_ok((addr), (size)) == 0) -static inline int verify_area(int type, const void *addr, unsigned long size) -{ - return access_ok(type, addr, size) ? 0 : -EFAULT; -} - - /* * The exception table consists of pairs of addresses: the first is the * address of an instruction that is allowed to fault, and the second is |