]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] unmap_vm_area becomes unmap_kernel_range for the public
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 4 Jun 2007 05:15:35 +0000 (15:15 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Jun 2007 12:29:56 +0000 (22:29 +1000)
commitc19c03fc749147f565e807fa65f1729066800571
treed5ba2eb6d43b5001c93c42523fc5b2431ef61664
parent3c8c90ab8810a8ebb38a5f1dde2595b750d5adff
[POWERPC] unmap_vm_area becomes unmap_kernel_range for the public

This makes unmap_vm_area static and a wrapper around a new
exported unmap_kernel_range that takes an explicit range instead
of a vm_area struct.

This makes it more versatile for code that wants to play with kernel
page tables outside of the standard vmalloc area.

(One example is some rework of the PowerPC PCI IO space mapping
code that depends on that patch and removes some code duplication
and horrible abuse of forged struct vm_struct).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Documentation/cachetlb.txt
arch/powerpc/mm/imalloc.c
arch/powerpc/mm/pgtable_64.c
include/linux/vmalloc.h
mm/vmalloc.c