commit | a9ede5b355aabd667ed690f858c925a23927027b | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Sun Jun 14 02:00:03 2009 -0400 |
committer | Arnd Bergmann <arnd@arndb.de> | Fri Jun 19 14:58:08 2009 +0200 |
tree | ee3fe26530679c33fa3aad5386e6961b3bf399e7 | |
parent | 9844813f226f6d07e1544e915529cb88f4fcb868 [diff] |
asm-generic: uaccess: fix up local access_ok() usage 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>