Thread (3 messages) flat view 3 messages, 2 authors, 2011-05-16
STALE5590d

[PATCH 1/1] ARM: thumb: Fix thumb mode compilation problems.

From: Russell King - ARM Linux <hidden>
Date: 2011-05-16 09:25:19

On Fri, May 13, 2011 at 12:58:58PM -0700, Vadim Bendebury wrote:
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-tegra/headsmp.S b/arch/arm/mach-tegra/headsmp.S
index b5349b2..bcbfbab 100644
--- a/arch/arm/mach-tegra/headsmp.S
+++ b/arch/arm/mach-tegra/headsmp.S
@@ -48,7 +48,8 @@ ENTRY(v7_invalidate_l1)
 ENDPROC(v7_invalidate_l1)
 
 ENTRY(tegra_secondary_startup)
-	msr	cpsr_fsxc, #0xd3
+	mov     r0, #0xd3
+	msr     cpsr_fsxc, r0
You should use the setmode assembly macro for this.  See
arch/arm/include/asm/assembler.h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help