From: Mike Frysinger Date: Sun, 14 Jun 2009 06:00:03 +0000 (-0400) Subject: asm-generic: uaccess: fix up local access_ok() usage X-Git-Tag: v2.6.31-rc1~33^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9ede5b355aabd667ed690f858c925a23927027b;p=pandora-kernel.git 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 Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed