Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349407
b: refs/heads/master
c: 444723d
h: refs/heads/master
i:
  349405: f0f262e
  349403: 0c2cc2b
  349399: 59989ed
  349391: 00ad6f9
  349375: 4619b7a
v: v3
  • Loading branch information
Jan Beulich authored and Ingo Molnar committed Jan 24, 2013
1 parent 1b20f18 commit 728ebdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 021ef050fc092d5638e69868d126c18006ea7296
refs/heads/master: 444723dccc3c855fe88ea138cdec46f30e707b74
7 changes: 3 additions & 4 deletions trunk/arch/x86/kernel/entry_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -1781,6 +1781,7 @@ first_nmi:
* Leave room for the "copied" frame
*/
subq $(5*8), %rsp
CFI_ADJUST_CFA_OFFSET 5*8

/* Copy the stack frame to the Saved frame */
.rept 5
Expand Down Expand Up @@ -1863,10 +1864,8 @@ end_repeat_nmi:
nmi_swapgs:
SWAPGS_UNSAFE_STACK
nmi_restore:
RESTORE_ALL 8

/* Pop the extra iret frame */
addq $(5*8), %rsp
/* Pop the extra iret frame at once */
RESTORE_ALL 6*8

/* Clear the NMI executing stack variable */
movq $0, 5*8(%rsp)
Expand Down

0 comments on commit 728ebdd

Please sign in to comment.