summaryrefslogtreecommitdiff
path: root/arch/nios2
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-02-14 14:50:29 +0100
committerArnd Bergmann <arnd@arndb.de>2022-02-25 09:36:05 +0100
commit15f3d81a8c8a564cbc8642cf95c548d02db035a7 (patch)
tree29e8a4627d1d8fdbd1cee86a0db9fd87148852d5 /arch/nios2
parent429124d992648b924408a912dc939cdb42d870b2 (diff)
MIPS: use simpler access_ok()
Before unifying the mips version of __access_ok() with the generic code, this converts it to the same algorithm. This is a change in behavior on mips64, as now address in the user segment, the lower 2^62 bytes, is taken to be valid, relying on a page fault for addresses that are within that segment but not valid on that CPU. The new version should be the most effecient way to do this, but it gets rid of the special handling for size=0 that most other architectures ignore as well. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions