diff options
Diffstat (limited to 'arch/arm/kernel/entry-armv.S')
-rw-r--r-- | arch/arm/kernel/entry-armv.S | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S index 468425f937dd..3d727a8a23bc 100644 --- a/arch/arm/kernel/entry-armv.S +++ b/arch/arm/kernel/entry-armv.S | |||
@@ -161,6 +161,8 @@ ENDPROC(__und_invalid) | |||
161 | @ r4 - orig_r0 (see pt_regs definition in ptrace.h) | 161 | @ r4 - orig_r0 (see pt_regs definition in ptrace.h) |
162 | @ | 162 | @ |
163 | stmia r5, {r0 - r4} | 163 | stmia r5, {r0 - r4} |
164 | |||
165 | asm_trace_hardirqs_off | ||
164 | .endm | 166 | .endm |
165 | 167 | ||
166 | .align 5 | 168 | .align 5 |
@@ -215,9 +217,6 @@ ENDPROC(__dabt_svc) | |||
215 | __irq_svc: | 217 | __irq_svc: |
216 | svc_entry | 218 | svc_entry |
217 | 219 | ||
218 | #ifdef CONFIG_TRACE_IRQFLAGS | ||
219 | bl trace_hardirqs_off | ||
220 | #endif | ||
221 | #ifdef CONFIG_PREEMPT | 220 | #ifdef CONFIG_PREEMPT |
222 | get_thread_info tsk | 221 | get_thread_info tsk |
223 | ldr r8, [tsk, #TI_PREEMPT] @ get preempt count | 222 | ldr r8, [tsk, #TI_PREEMPT] @ get preempt count |
@@ -391,6 +390,8 @@ ENDPROC(__pabt_svc) | |||
391 | @ Clear FP to mark the first stack frame | 390 | @ Clear FP to mark the first stack frame |
392 | @ | 391 | @ |
393 | zero_fp | 392 | zero_fp |
393 | |||
394 | asm_trace_hardirqs_off | ||
394 | .endm | 395 | .endm |
395 | 396 | ||
396 | .macro kuser_cmpxchg_check | 397 | .macro kuser_cmpxchg_check |
@@ -445,9 +446,6 @@ __irq_usr: | |||
445 | usr_entry | 446 | usr_entry |
446 | kuser_cmpxchg_check | 447 | kuser_cmpxchg_check |
447 | 448 | ||
448 | #ifdef CONFIG_TRACE_IRQFLAGS | ||
449 | bl trace_hardirqs_off | ||
450 | #endif | ||
451 | get_thread_info tsk | 449 | get_thread_info tsk |
452 | #ifdef CONFIG_PREEMPT | 450 | #ifdef CONFIG_PREEMPT |
453 | ldr r8, [tsk, #TI_PREEMPT] @ get preempt count | 451 | ldr r8, [tsk, #TI_PREEMPT] @ get preempt count |