x86/entry/64: Push extra regs right away
authorAndy Lutomirski <luto@kernel.org>
Sun, 28 Jan 2018 18:38:49 +0000 (10:38 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 30 Jan 2018 14:30:36 +0000 (15:30 +0100)
commitd1f7732009e0549eedf8ea1db948dc37be77fd46
tree8d9e9778c90c98d476c736d7b067328979c2b9dd
parent21d375b6b34ff511a507de27bf316b3dde6938d9
x86/entry/64: Push extra regs right away

With the fast path removed there is no point in splitting the push of the
normal and the extra register set. Just push the extra regs right away.

[ tglx: Split out from 'x86/entry/64: Remove the SYSCALL64 fast path' ]

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Kernel Hardening <kernel-hardening@lists.openwall.com>
Link: https://lkml.kernel.org/r/462dff8d4d64dfbfc851fbf3130641809d980ecd.1517164461.git.luto@kernel.org
arch/x86/entry/entry_64.S