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, 26 Aug 2014 00:18:57 +0000 (02:18 +0200)
commit43faaa5c97aa222f7f820f7c1e5200a4c44f6e0f
treea6193da0d4eeef66857f3d8caaa6553d4363e57b
parent64316467dc99e6b38ed1ca2197aa93535a7750e0
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