• Paul Burton's avatar
    MIPS: mm: compile maar_init unconditionally · def3ab5d
    Paul Burton authored
    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: default avatarPaul 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: default avatarRalf Baechle <ralf@linux-mips.org>
    def3ab5d
init.c 11.9 KB