MIPS: Malta: EVA: Rename 'eva_entry' to 'platform_eva_init'
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 21 Jul 2014 13:35:55 +0000 (14:35 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Aug 2014 16:24:41 +0000 (18:24 +0200)
commitca4d24f7954f3746742ba350c2276ff777f21173
tree174ebfe73bf37249315458ab89fd81d4535d01b4
parentf85b71ceabb9d8d8a9e34b045b5c43ffde3623b3
MIPS: Malta: EVA: Rename 'eva_entry' to 'platform_eva_init'

Rename 'eva_entry' to 'platform_eva_init' as required by the new
'eva_init' macro in the eva.h header. Since this macro is now used
in a platform dependent way, it must not depend on its caller so move
the t1 register initialization inside this macro. Also set the .reorder
assembler option in case the caller may have previously set .noreorder.
This may allow a few assembler optimizations. Finally include missing
headers and document the register usage for this macro.

Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Patchwork: http://patchwork.linux-mips.org/patch/7423/
Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/mips/include/asm/mach-malta/kernel-entry-init.h