]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6684bb24af9f58e728dd4577782cdc6b74c30b4c
tree174ebfe73bf37249315458ab89fd81d4535d01b4
parent7cf87df8635a74d0c2f473bd3ea4e6eda375124e
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