summaryrefslogtreecommitdiff
path: root/arch/mips/mm/cache.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2015-09-25 08:59:36 -0700
committerRalf Baechle <ralf@linux-mips.org>2015-09-27 14:14:00 +0200
commitdef3ab5d0a0fe53026c2495b054dcc46cf923dac (patch)
tree763d6919dbcf9d1c2eab295cb2c87daad5fcb193 /arch/mips/mm/cache.c
parentd77d5ac9c9b5abf45aeb6e12930fab832e5c81d1 (diff)
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>
Diffstat (limited to 'arch/mips/mm/cache.c')
0 files changed, 0 insertions, 0 deletions