]> git.baikalelectronics.ru Git - kernel.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)
commit565decb1ed899e35dfabea067ea58c0f72614340
treed5ba2eb6d43b5001c93c42523fc5b2431ef61664
parent1ae82789bece0ba471d8779bc2511a4c04619233
[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