]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit91e23105a90cc328166beeb2b497ca28681c45db
tree71126690cfaf4a5f1de4daa6fddfa25ce2184020
parent528896b4cdabcec0168e3d750738326d08bb1fb7
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