diff options
author | Alexander van Heukelum <heukelum@fastmail.fm> | 2008-09-26 08:03:02 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-13 04:21:53 -0400 |
commit | 6b11d4ef3e4d6ce83fb177aa50fdf385abb17d1a (patch) | |
tree | e162ee00eb7cbd3020d471370c51b728c316983d /arch/x86/kernel/entry_64.S | |
parent | 2e42060c19cb79adacc48beb5e9ec5361df976a2 (diff) |
traps: x86_64: add TRACE_IRQS_OFF in error_entry
Add TRACE_IRQS_OFF just before entering the C code.
All exceptions are taken via interrupt gates. If irq tracing is
enabled, it should be notified as soon as possible. Interrupts
are only (conditionally) re-enabled in C code.
Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/entry_64.S')
-rw-r--r-- | arch/x86/kernel/entry_64.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index 25bb3f9b255..963b35b81bc 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S | |||
@@ -1065,7 +1065,8 @@ KPROBE_ENTRY(error_entry) | |||
1065 | je error_kernelspace | 1065 | je error_kernelspace |
1066 | error_swapgs: | 1066 | error_swapgs: |
1067 | SWAPGS | 1067 | SWAPGS |
1068 | error_sti: | 1068 | error_sti: |
1069 | TRACE_IRQS_OFF | ||
1069 | movq %rdi,RDI(%rsp) | 1070 | movq %rdi,RDI(%rsp) |
1070 | CFI_REL_OFFSET rdi,RDI | 1071 | CFI_REL_OFFSET rdi,RDI |
1071 | movq %rsp,%rdi | 1072 | movq %rsp,%rdi |