|
|
@@ -148,8 +148,6 @@ ENTRY(entry_SYSCALL_64)
|
|
|
movq %rsp, PER_CPU_VAR(rsp_scratch)
|
|
|
movq PER_CPU_VAR(cpu_current_top_of_stack), %rsp
|
|
|
|
|
|
- TRACE_IRQS_OFF
|
|
|
-
|
|
|
/* Construct struct pt_regs on stack */
|
|
|
pushq $__USER_DS /* pt_regs->ss */
|
|
|
pushq PER_CPU_VAR(rsp_scratch) /* pt_regs->sp */
|
|
|
@@ -170,6 +168,8 @@ GLOBAL(entry_SYSCALL_64_after_hwframe)
|
|
|
sub $(6*8), %rsp /* pt_regs->bp, bx, r12-15 not saved */
|
|
|
UNWIND_HINT_REGS extra=0
|
|
|
|
|
|
+ TRACE_IRQS_OFF
|
|
|
+
|
|
|
/*
|
|
|
* If we need to do entry work or if we guess we'll need to do
|
|
|
* exit work, go straight to the slow path.
|