diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-11-28 09:00:37 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-28 09:00:48 -0500 |
commit | 3bdae4f46445ea7cc9ee031d7ff106fdc6228669 (patch) | |
tree | a44b445548dbf730535cfebd024e4cabadd4397c /arch/x86/kernel/entry_64.S | |
parent | 9f1e87ea3ecb3c46c21f6a1a202ec82f99ed2473 (diff) | |
parent | 5f5db591326779a80cfe490c5d6b6ce9fac08b31 (diff) |
Merge branch 'x86/debug' into x86/irq
We merge this branch because x86/debug touches code that we started
cleaning up in x86/irq. The two branches started out independent,
but as unexpected amount of activity went into x86/irq, they became
dependent. Resolve that by this cross-merge.
Diffstat (limited to 'arch/x86/kernel/entry_64.S')
-rw-r--r-- | arch/x86/kernel/entry_64.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index 08c0c9777a09..e41734a537bd 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S | |||
@@ -373,6 +373,7 @@ ENTRY(ret_from_fork) | |||
373 | call schedule_tail | 373 | call schedule_tail |
374 | GET_THREAD_INFO(%rcx) | 374 | GET_THREAD_INFO(%rcx) |
375 | testl $(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT),TI_flags(%rcx) | 375 | testl $(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT),TI_flags(%rcx) |
376 | CFI_REMEMBER_STATE | ||
376 | jnz rff_trace | 377 | jnz rff_trace |
377 | rff_action: | 378 | rff_action: |
378 | RESTORE_REST | 379 | RESTORE_REST |
@@ -382,6 +383,7 @@ rff_action: | |||
382 | jnz int_ret_from_sys_call | 383 | jnz int_ret_from_sys_call |
383 | RESTORE_TOP_OF_STACK %rdi, -ARGOFFSET | 384 | RESTORE_TOP_OF_STACK %rdi, -ARGOFFSET |
384 | jmp ret_from_sys_call | 385 | jmp ret_from_sys_call |
386 | CFI_RESTORE_STATE | ||
385 | rff_trace: | 387 | rff_trace: |
386 | movq %rsp,%rdi | 388 | movq %rsp,%rdi |
387 | call syscall_trace_leave | 389 | call syscall_trace_leave |
@@ -1173,6 +1175,7 @@ ENTRY(child_rip) | |||
1173 | # exit | 1175 | # exit |
1174 | mov %eax, %edi | 1176 | mov %eax, %edi |
1175 | call do_exit | 1177 | call do_exit |
1178 | ud2 # padding for call trace | ||
1176 | CFI_ENDPROC | 1179 | CFI_ENDPROC |
1177 | END(child_rip) | 1180 | END(child_rip) |
1178 | 1181 | ||