Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258188
b: refs/heads/master
c: df295df
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Jul 2, 2011
1 parent f4b688f commit 897adb4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02fe2845d6a837ab02f0738f6cf4591a02cc88d4
refs/heads/master: df295df6c391e322a06dea0d2bc3d22debd15fb9
10 changes: 10 additions & 0 deletions trunk/arch/arm/kernel/entry-armv.S
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ __und_svc:
svc_entry
#endif

#ifdef CONFIG_TRACE_IRQFLAGS
bl trace_hardirqs_off
#endif

@
@ call emulation code, which returns using r9 if it has emulated
@ the instruction, or the more conventional lr if we are to treat
Expand Down Expand Up @@ -300,6 +304,12 @@ __und_svc:
@ restore SPSR and restart the instruction
@
ldr r5, [sp, #S_PSR] @ Get SVC cpsr
#ifdef CONFIG_TRACE_IRQFLAGS
tst r5, #PSR_I_BIT
bleq trace_hardirqs_on
tst r5, #PSR_I_BIT
blne trace_hardirqs_off
#endif
svc_exit r5 @ return from exception
UNWIND(.fnend )
ENDPROC(__und_svc)
Expand Down

0 comments on commit 897adb4

Please sign in to comment.