m32r: fix tme_handler to check _PAGE_PRESENT bit
commit0d4f64681695b0e389f7121eb647b27c602990bc
authorHirokazu Takata <takata@linux-m32r.org>
Fri, 11 May 2007 05:22:26 +0000 (10 22:22 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 11 May 2007 15:29:33 +0000 (11 08:29 -0700)
tree73ba274b97da70c99cf553f22c93c9d85abc0b83
parent43c09ce7927912c7867617cba0a265beea38a154
m32r: fix tme_handler to check _PAGE_PRESENT bit

Fix the tlb-miss handler (tme_handler) to check _PAGE_PRESENT bit
in order to handle file-mapped or swapped-out pages correctly.

This patch is required to fix unexpected page errors for m32r.

Signed-off-by: Hitoshi Yamamoto <hitoshiy@linux-m32r.org>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/mm/mmu.S