]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
MIPS: mm: compile maar_init unconditionally
authorPaul Burton <paul.burton@imgtec.com>
Fri, 25 Sep 2015 15:59:36 +0000 (08:59 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 27 Sep 2015 12:14:00 +0000 (14:14 +0200)
commitdef3ab5d0a0fe53026c2495b054dcc46cf923dac
tree763d6919dbcf9d1c2eab295cb2c87daad5fcb193
parentd77d5ac9c9b5abf45aeb6e12930fab832e5c81d1
MIPS: mm: compile maar_init unconditionally

maar_init was previously only compiled when CONFIG_NEED_MULTIPLE_NODES
was not set, which has been fine since it is only called from the
standard implementation of mem_init which has the same condition. In
preparation for calling it from the SMP startup code on secondary CPUs,
move maar_init outside of the #ifndef such that it is always compiled.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: David Hildenbrand <dahi@linux.vnet.ibm.com>
Cc: linux-kernel@vger.kernel.org
Cc: Ingo Molnar <mingo@kernel.org>
Patchwork: https://patchwork.linux-mips.org/patch/11237/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/init.c