[PATCH] ppc64: Abolish ioremap_mm
Currently ppc64 has two mm_structs for the kernel, init_mm and also ioremap_mm. The latter really isn't necessary: this patch abolishes it, instead restricting vmallocs to the lower 1TB of the init_mm's range and placing io mappings in the upper 1TB. This simplifies the code in a number of places and eliminates an unecessary set of pagetables. It also tweaks the unmap/free path a little, allowing us to remove the unmap_im_area() set of page table walkers, replacing them with unmap_vm_area(). Signed-off-by:David Gibson <dwg@au1.ibm.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/ppc64/kernel/eeh.c 1 addition, 1 deletionarch/ppc64/kernel/eeh.c
- arch/ppc64/kernel/head.S 0 additions, 4 deletionsarch/ppc64/kernel/head.S
- arch/ppc64/kernel/process.c 0 additions, 8 deletionsarch/ppc64/kernel/process.c
- arch/ppc64/mm/hash_utils.c 0 additions, 4 deletionsarch/ppc64/mm/hash_utils.c
- arch/ppc64/mm/imalloc.c 12 additions, 8 deletionsarch/ppc64/mm/imalloc.c
- arch/ppc64/mm/init.c 9 additions, 84 deletionsarch/ppc64/mm/init.c
- include/asm-ppc64/imalloc.h 7 additions, 5 deletionsinclude/asm-ppc64/imalloc.h
- include/asm-ppc64/page.h 0 additions, 2 deletionsinclude/asm-ppc64/page.h
- include/asm-ppc64/pgtable.h 2 additions, 7 deletionsinclude/asm-ppc64/pgtable.h
- include/asm-ppc64/processor.h 0 additions, 10 deletionsinclude/asm-ppc64/processor.h
Loading
Please register or sign in to comment