]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
m68knommu: fix build when CPU is not coldfire
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sun, 17 Feb 2013 01:33:34 +0000 (23:33 -0200)
committerGreg Ungerer <gerg@uclinux.org>
Mon, 4 Mar 2013 01:08:39 +0000 (11:08 +1000)
commitbe3f695cbe3ddd7f334a660b82ae866818ae4b10
treefea159481e76965c853455d8a1a46477083fec88
parent1a62fe8d1b26223abba31e9a81005d550822a1f8
m68knommu: fix build when CPU is not coldfire

Commit dd1cb3a7c43508c29e17836628090c0735bd3137 [merge MMU and non-MMU
versions of mm/init.c] unified mm/init.c for both MMU and non-MMU m68k
platforms. However, it broke when we build a non-MMU M68K Classic CPU kernel.

This fix builds a section that came from the MMU version only when we are
building a MMU kernel.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/mm/init.c