Skip to content

Commit

Permalink
x86/entry/64: Remove unused 'addskip' parameter of the ALLOC_PT_GPREG…
Browse files Browse the repository at this point in the history
…S_ON_STACK macro

Signed-off-by: Alexander Kuleshov <[email protected]>
Reviewed-by: Borislav Petkov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
0xAX authored and Ingo Molnar committed Oct 20, 2016
1 parent c3f8f7f commit 59df226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/entry/calling.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ For 32-bit we have the following conventions - kernel is built with

#define SIZEOF_PTREGS 21*8

.macro ALLOC_PT_GPREGS_ON_STACK addskip=0
addq $-(15*8+\addskip), %rsp
.macro ALLOC_PT_GPREGS_ON_STACK
addq $-(15*8), %rsp
.endm

.macro SAVE_C_REGS_HELPER offset=0 rax=1 rcx=1 r8910=1 r11=1
Expand Down

0 comments on commit 59df226

Please sign in to comment.