x86/asm/entry/64/compat: Use more readable constant
authorDenys Vlasenko <[email protected]>
Thu, 26 Feb 2015 22:40:37 +0000 (14:40 -0800)
committerIngo Molnar <[email protected]>
Wed, 4 Mar 2015 21:50:52 +0000 (22:50 +0100)
The last instance of "mysterious" SS+8 constant is replaced by
SIZEOF_PTREGS.

Message-Id: <1424822419[email protected]>
Signed-off-by: Denys Vlasenko <[email protected]>
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Will Drewry <[email protected]>
Link: http://lkml.kernel.org/r/d35aeba3059407ac54f472ddcfbea767ff8916ac.1424989793.git.luto@amacapital.net
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/ia32/ia32entry.S

index 6dcd37256979052082913122c83aed3d04292423..ed9746340363b628dbad84ede8ca4c099ba904fe 100644 (file)
@@ -536,7 +536,7 @@ ia32_ptregs_common:
        CFI_ENDPROC
        CFI_STARTPROC32 simple
        CFI_SIGNAL_FRAME
-       CFI_DEF_CFA     rsp,SS+8
+       CFI_DEF_CFA     rsp,SIZEOF_PTREGS
        CFI_REL_OFFSET  rax,RAX
        CFI_REL_OFFSET  rcx,RCX
        CFI_REL_OFFSET  rdx,RDX