]> git.karo-electronics.de Git - linux-beck.git/commit
sh: Handle a NULL vma in __update_tlb() for the fast-path.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 29 Jul 2009 13:06:58 +0000 (22:06 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 29 Jul 2009 13:06:58 +0000 (22:06 +0900)
commit3ed6e129390fb872c3b7e05a232e5d380fbdfb48
treec6cf9564b735f85d0a37f64e239767ce86e40b36
parent9cef7492696a416663b4edb953a4eade8517ebeb
sh: Handle a NULL vma in __update_tlb() for the fast-path.

The TLB miss fast-path presently calls in to update_mmu_cache() to
set up the entry, and does so with a NULL vma. Check for vma validity
in the __update_tlb() ptrace checks.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/tlb-pteaex.c
arch/sh/mm/tlb-sh3.c
arch/sh/mm/tlb-sh4.c