aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/vfp/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/vfp/entry.S')
-rw-r--r--arch/arm/vfp/entry.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/vfp/entry.S b/arch/arm/vfp/entry.S
index 4fa9903b83c..c1a97840258 100644
--- a/arch/arm/vfp/entry.S
+++ b/arch/arm/vfp/entry.S
@@ -10,7 +10,7 @@
10 * 10 *
11 * Basic entry code, called from the kernel's undefined instruction trap. 11 * Basic entry code, called from the kernel's undefined instruction trap.
12 * r0 = faulted instruction 12 * r0 = faulted instruction
13 * r5 = faulted PC+4 13 * r2 = faulted PC+4
14 * r9 = successful return 14 * r9 = successful return
15 * r10 = thread_info structure 15 * r10 = thread_info structure
16 * lr = failure return 16 * lr = failure return
@@ -26,6 +26,7 @@ ENTRY(do_vfp)
26 str r11, [r10, #TI_PREEMPT] 26 str r11, [r10, #TI_PREEMPT]
27#endif 27#endif
28 enable_irq 28 enable_irq
29 str r2, [sp, #S_PC] @ update regs->ARM_pc for Thumb 2 case
29 ldr r4, .LCvfp 30 ldr r4, .LCvfp
30 ldr r11, [r10, #TI_CPU] @ CPU number 31 ldr r11, [r10, #TI_CPU] @ CPU number
31 add r10, r10, #TI_VFPSTATE @ r10 = workspace 32 add r10, r10, #TI_VFPSTATE @ r10 = workspace