asm-generic: uaccess: fix up local access_ok() usage
authorMike Frysinger <vapier@gentoo.org>
Sun, 14 Jun 2009 06:00:03 +0000 (02:00 -0400)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Jun 2009 12:58:08 +0000 (14:58 +0200)
There's no reason that I can see to use the short __access_ok() form
directly when the access_ok() is clearer in intent and for most people,
expands to the same C code (i.e. always specify the first field -- access
type).  Not all no-mmu systems lack memory protection, so the read/write
could feasibly be checked.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

No differences found