mm: consolidate init_mm definition
* create mm/init-mm.c, move init_mm there * remove INIT_MM, initialize init_mm with C99 initializer * unexport init_mm on all arches: init_mm is already unexported on x86. One strange place is some OMAP driver (drivers/video/omap/) which won't build modular, but it's already wants get_vm_area() export. Somebody should look there. [akpm@linux-foundation.org: add missing #includes] Signed-off-by:Alexey Dobriyan <adobriyan@gmail.com> Cc: Mike Frysinger <vapier.adi@gmail.com> Cc: Americo Wang <xiyou.wangcong@gmail.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/alpha/kernel/init_task.c 0 additions, 3 deletionsarch/alpha/kernel/init_task.c
- arch/arm/kernel/init_task.c 0 additions, 4 deletionsarch/arm/kernel/init_task.c
- arch/avr32/kernel/init_task.c 0 additions, 4 deletionsarch/avr32/kernel/init_task.c
- arch/blackfin/kernel/init_task.c 0 additions, 4 deletionsarch/blackfin/kernel/init_task.c
- arch/cris/kernel/process.c 0 additions, 4 deletionsarch/cris/kernel/process.c
- arch/frv/kernel/init_task.c 0 additions, 4 deletionsarch/frv/kernel/init_task.c
- arch/h8300/kernel/init_task.c 0 additions, 4 deletionsarch/h8300/kernel/init_task.c
- arch/ia64/kernel/init_task.c 0 additions, 4 deletionsarch/ia64/kernel/init_task.c
- arch/m32r/kernel/init_task.c 0 additions, 4 deletionsarch/m32r/kernel/init_task.c
- arch/m68k/kernel/process.c 0 additions, 4 deletionsarch/m68k/kernel/process.c
- arch/m68knommu/kernel/init_task.c 0 additions, 4 deletionsarch/m68knommu/kernel/init_task.c
- arch/mips/kernel/init_task.c 0 additions, 4 deletionsarch/mips/kernel/init_task.c
- arch/mn10300/kernel/init_task.c 0 additions, 3 deletionsarch/mn10300/kernel/init_task.c
- arch/parisc/kernel/init_task.c 0 additions, 4 deletionsarch/parisc/kernel/init_task.c
- arch/powerpc/kernel/init_task.c 0 additions, 4 deletionsarch/powerpc/kernel/init_task.c
- arch/s390/kernel/init_task.c 0 additions, 4 deletionsarch/s390/kernel/init_task.c
- arch/sh/kernel/init_task.c 0 additions, 3 deletionsarch/sh/kernel/init_task.c
- arch/sparc/kernel/init_task.c 0 additions, 3 deletionsarch/sparc/kernel/init_task.c
- arch/um/kernel/init_task.c 0 additions, 3 deletionsarch/um/kernel/init_task.c
- arch/x86/kernel/init_task.c 0 additions, 1 deletionarch/x86/kernel/init_task.c
Please register or sign in to comment