mn10300: finish verify_area() off

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Dieser Commit ist enthalten in:
Al Viro
2016-09-03 18:05:00 -04:00
Ursprung 08435d89dd
Commit 81029b1f77
2 geänderte Dateien mit 3 neuen und 9 gelöschten Zeilen

Datei anzeigen

@@ -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