]> rtime.felk.cvut.cz Git - linux-imx.git/commit
m68k: merge MMU and non-MMU versions of mm/init.c
authorGreg Ungerer <gerg@uclinux.org>
Wed, 24 Oct 2012 12:36:27 +0000 (22:36 +1000)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 14 Nov 2012 07:50:56 +0000 (08:50 +0100)
commitdd1cb3a7c43508c29e17836628090c0735bd3137
tree9748ca968ed790ea1dbe513fc2c754ef4850b591
parent20e42aede9e7b78c2ffd8a03501e3090fbb78811
m68k: merge MMU and non-MMU versions of mm/init.c

Some of the code in the existing mm/init_mm.c and mm/init_no.c files is
the same, and if we merge them back to a single file we can save some code
duplication.

Although the old mem_init() code for non-MMU was a little different than
the MMU version, it turns out we can use the same code. So I now we just
use the MMU mem_init() code for all. It also means we now get identical
console info messages for this code on kernel boot up.

So merge the two files back into a single file.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mm/init.c
arch/m68k/mm/init_mm.c [deleted file]
arch/m68k/mm/init_no.c [deleted file]