MIPS: mm: init: Add free_init_pages() callback for EVA
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 15 Jan 2014 14:06:03 +0000 (14:06 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:18 +0000 (23:09 +0100)
commit0893d3fb8d27320d4301f14a0b331df291a08044
tree71126690cfaf4a5f1de4daa6fddfa25ce2184020
parent91119686f33928e2ced93eaedf4191cedbd0e827
MIPS: mm: init: Add free_init_pages() callback for EVA

A core in EVA mode can have any possible segment mapping, so the
default free_initmem_default() function may not always work as expected.
Therefore, add a callback that platforms can use to free up the init section.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/include/asm/bootinfo.h
arch/mips/mm/init.c