WSL2-Linux-Kernel/arch
Alexey Dobriyan bb1f17b037 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>
2009-06-16 19:47:28 -07:00
..
alpha mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
arm mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
avr32 mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
blackfin mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
cris mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
frv mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
h8300 mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
ia64 mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
m32r mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
m68k mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
m68knommu mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
microblaze Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic 2009-06-12 18:15:51 -07:00
mips mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
mn10300 mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
parisc mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
powerpc mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
s390 mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
sh mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
sparc mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
um mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
x86 mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
xtensa mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
.gitignore
Kconfig mutex: have non-spinning mutexes on s390 by default 2009-04-09 19:28:24 +02:00