uml: 64-bit tlb fixes
commit909e90d3c410b684e564729145f7c20dad887757
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Feb 2008 06:31:06 +0000 (4 22:31 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:29 +0000 (5 09:44 -0800)
tree31c4e5ade894f185a7eeb04ce7023cb7da6b9277
parent1adfd6095e1c654dce5a692db5aa5a2b2a8d6b0d
uml: 64-bit tlb fixes

Some 64-bit tlb fixes -
moved pmd_page_vaddr to pgtable.h since it's the same for both
2-level and 3-level page tables
fixed a bogus cast on pud_page_vaddr
made the address checking in update_*_range more careful

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/tlb.c
include/asm-um/pgtable-2level.h
include/asm-um/pgtable-3level.h
include/asm-um/pgtable.h