sh: Fix up __access_ok() check for nommu.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 21 Mar 2008 09:08:58 +0000 (18:08 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 18 Apr 2008 16:50:02 +0000 (09:50 -0700)
commit9460c0ce9b29825d279081d5078815a32c268ada
tree6881ce0126df1172856efaa582bd91e21fda1fc9
parent5c0cbd74bb56aeb7f3de883ab79c5f501622ccb1
sh: Fix up __access_ok() check for nommu.

Presently this only checks to see if an address is an RAM, but this
doesn't work with XIP, so just always return 1. Follows m68knommu.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/uaccess_32.h