Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[PATCH 6/11] ARM: fix typo in softint_switch
--Imre
From 877ed6d3d7fbaa6516ef9c5cae63dd989afe71c8 Mon Sep 17 00:00:00 2001
From: Imre Deak <imre.deak%teleca.com@localhost>
Date: Fri, 25 Apr 2008 18:49:21 +0300
Subject: [PATCH] ARM: fix typo in softint_switch
SP needs to be updated when cleaning the stackframe.
---
sys/arch/arm/arm32/cpuswitch.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sys/arch/arm/arm32/cpuswitch.S b/sys/arch/arm/arm32/cpuswitch.S
index 9285ebd..028dda4 100644
--- a/sys/arch/arm/arm32/cpuswitch.S
+++ b/sys/arch/arm/arm32/cpuswitch.S
@@ -446,7 +446,7 @@ ENTRY_NP(softint_switch)
* Grab the registers that got pushed at the start and return.
*/
ldmfd sp!, {r4-r7, ip, lr} /* eat switch frame */
- ldmfd sp, {r4, r6, r7, pc} /* pop stack and return */
+ ldmfd sp!, {r4, r6, r7, pc} /* pop stack and return */
END(softint_switch)
--
1.5.4.2
Home |
Main Index |
Thread Index |
Old Index