Skip to content
Commit 429124d9 authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer Committed by Arnd Bergmann
Browse files

MIPS: Handle address errors for accesses above CPU max virtual user address



Address errors have always been treated as unaliged accesses and handled
as such. But address errors are also issued for illegal accesses like
user to kernel space or accesses outside of implemented spaces. This
change implements Linux exception handling for accesses to the illegal
space above the CPU implemented maximum virtual user address and the
MIPS 64bit architecture maximum. With this we can now use a fixed value
for the maximum task size on every MIPS CPU and get a more optimized
access_ok().

Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 34737e26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment