summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh/src/sh1/sh1_vector.S
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-11 19:38:37 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-11 19:38:37 +0000
commit64adcc078494d2b019866353c43c952de9050dcd (patch)
tree0089e4ab39c10d6c8f2be70ea828257e858a14ff /nuttx/arch/sh/src/sh1/sh1_vector.S
parent085539aebda5932c178545b905365c29fc8ea434 (diff)
downloadpx4-nuttx-64adcc078494d2b019866353c43c952de9050dcd.tar.gz
px4-nuttx-64adcc078494d2b019866353c43c952de9050dcd.tar.bz2
px4-nuttx-64adcc078494d2b019866353c43c952de9050dcd.zip
cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1198 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sh/src/sh1/sh1_vector.S')
-rw-r--r--nuttx/arch/sh/src/sh1/sh1_vector.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/sh/src/sh1/sh1_vector.S b/nuttx/arch/sh/src/sh1/sh1_vector.S
index 2dab495d1..3e6a32029 100644
--- a/nuttx/arch/sh/src/sh1/sh1_vector.S
+++ b/nuttx/arch/sh/src/sh1/sh1_vector.S
@@ -339,7 +339,7 @@ _up_vector:
#if CONFIG_ARCH_INTERRUPTSTACK > 3
mov.l .Lintstack, r15 /* SP = interrupt stack base */
- mov.l r5, @sp /* Save the user stack pointer (pre-decremented) */
+ mov.l r5, @r15 /* Save the user stack pointer (pre-decremented) */
/* Dispatch the interrupt */
@@ -349,7 +349,7 @@ _up_vector:
/* Recover the user stack point */
- mov.l @sp, r15
+ mov.l @15, r15
#else
/* Dispatch the interrupt */