Thread (1 message) 1 message, 1 author, 2012-11-21

Re: [PATCH V5 5/5] arm: mvebu: Added SMP support for Armada XP

From: Russell King - ARM Linux <hidden>
Date: 2012-11-21 11:38:50
Also in: linux-arm-kernel

On Tue, Nov 20, 2012 at 10:15:49PM +0100, Gregory CLEMENT wrote:
+ENTRY(armada_xp_secondary_startup)
+
+	/* Read CPU id */
+ 	mrc     p15, 0, r1, c0, c0, 5
+	and     r1, r1, #0xF
+
+	/* Add CPU to coherency fabric */
+	ldr     r0, = ARMADA_XP_CFB_BASE
+	mov	lr, pc
+
+	b	ll_set_cpu_coherent
+	b	secondary_startup
This looks odd.  Why are you doing a mov lr,pc followed by a plain branch?
What's wrong with 'bl' here ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help