uml: add virt_to_pte
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Feb 2008 06:30:55 +0000 (22:30 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:28 +0000 (09:44 -0800)
commitca77b555c0aafa3070fbb67592abaaa1b8d31913
treefb0b42c68879599b65dc897153923ffadca408ab
parent655e4ed0c521dcfdbf1c5a79da971560e6733527
uml: add virt_to_pte

Turn um_virt_to_phys into virt_to_pte, cleaning up a horrid interface.

It's also made non-static and declared in pgtable.h because it'll be
needed when the stubs get a vma.

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/skas/uaccess.c
include/asm-um/pgtable.h