ARM: mcpm: fix big endian issue in mcpm startup code
PATCH 1/2 ARM: mcpm: fix big endian issue in mcpm startup code
In reply to a message not in the archiveQuoted 5 lines · Dave Martin
Quoted 4 lines · Victor Kamensky
In big endian mode
mcpm_entry_pointis first function that called on secondaries CPU. First it should switch CPU into big endian code.
Quoted 8 lines
Quoted 1 line
Signed-off-by Victor Kamensky <[email protected]>Providing Nico's also OK with it, I don't see a problem with this.
Minor cosmetic nit: please line up the ) after be with the others. Not the end of the world, though.
Reviewed-by Dave Martin <[email protected]>
No problem here.
Acked-by Nicolas Pitre <[email protected]>
Quoted 37 lines
Cheers
---DaveQuoted 32 lines
--- arch/arm/common/mcpm_head.S | 2 ++ 1 file changed, 2 insertions(+)arch/arm/common/mcpm_head.S +2
-0@@ -15,6 +15,7 @@ #include <linux/linkage.h> #include <asm/mcpm.h> +#include <asm/assembler.h> #include "vlock.h"@@ -47,6 +48,7 @@ ENTRY(mcpm_entry_point) + ARM_BE8(setend be) THUMB( adr r12, BSYM(1f) ) THUMB( bx r12 ) THUMB( .thumb )Signature · 7 lines
1.8.1.4 _______________________________________________ linaro-kernel mailing list linaro-kernel at lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-kernel