summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-03-15 12:33:43 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-03-21 22:05:50 +0000
commit5d25ac038a317d454a4321cba955f756400835a5 (patch)
treeec536b7e1aba8c0775f72e924743524e4688d5d7
parentf78f10436806660f39440a729acbaf03e3a01023 (diff)
downloadop-kernel-dev-5d25ac038a317d454a4321cba955f756400835a5.zip
op-kernel-dev-5d25ac038a317d454a4321cba955f756400835a5.tar.gz
[ARM] Move IRQ enable after coprocessor number decode
Allow the individual coprocessor handlers to decide when to enable interrupts, rather than unconditionally enabling them. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/kernel/entry-armv.S2
-rw-r--r--arch/arm/vfp/entry.S1
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S
index ec48d70..355914f 100644
--- a/arch/arm/kernel/entry-armv.S
+++ b/arch/arm/kernel/entry-armv.S
@@ -484,7 +484,6 @@ call_fpe:
movcss r7, r5, lsr #(TIF_USING_IWMMXT + 1)
bcs iwmmxt_task_enable
#endif
- enable_irq
add pc, pc, r8, lsr #6
mov r0, r0
@@ -511,6 +510,7 @@ call_fpe:
mov pc, lr @ CP#15 (Control)
do_fpe:
+ enable_irq
ldr r4, .LCfp
add r10, r10, #TI_FPSTATE @ r10 = workspace
ldr pc, [r4] @ Call FP module USR entry point
diff --git a/arch/arm/vfp/entry.S b/arch/arm/vfp/entry.S
index 6f17187..9ab1abf 100644
--- a/arch/arm/vfp/entry.S
+++ b/arch/arm/vfp/entry.S
@@ -22,6 +22,7 @@
.globl do_vfp
do_vfp:
+ enable_irq
ldr r4, .LCvfp
add r10, r10, #TI_VFPSTATE @ r10 = workspace
ldr pc, [r4] @ call VFP entry point
OpenPOWER on IntegriCloud