summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/scall64-o32.S
diff options
context:
space:
mode:
authorWu Fei <at.wufei@gmail.com>2009-09-03 22:29:53 +0800
committerRalf Baechle <ralf@linux-mips.org>2009-09-17 20:07:51 +0200
commite0cc87f59490d7d62a8ab2a76498dc8a2b64927a (patch)
treed68107417b92d83493bbb95c08af98b0f8597220 /arch/mips/kernel/scall64-o32.S
parenta7bcb1ae6094db78b077ae17e92c69de7643014f (diff)
MIPS: Shrink the size of tlb handler
By combining swapper_pg_dir and module_pg_dir, several if conditions can be eliminated from the tlb exception handler. The reason they can be combined is that, the effective virtual address of vmalloc returned is at the bottom, and of module_alloc returned is at the top. It also fixes the bug in vmalloc(), which happens when its return address is not covered by the first pgd. Signed-off-by: Wu Fei <at.wufei@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/scall64-o32.S')
0 files changed, 0 insertions, 0 deletions