x86/entry: Remove skip_r11rcx
authorPeter Zijlstra <peterz@infradead.org>
Fri, 6 May 2022 12:14:35 +0000 (14:14 +0200)
committerBorislav Petkov <bp@suse.de>
Fri, 6 May 2022 13:58:19 +0000 (15:58 +0200)
commit1b331eeea7b8676fc5dbdf80d0a07e41be226177
treefad4101996727179c5f36eecd29790dc48c3db8e
parent8c42819b61b8340cff0643e65b5ce6a4144ab155
x86/entry: Remove skip_r11rcx

Yes, r11 and rcx have been restored previously, but since they're being
popped anyway (into rsi) might as well pop them into their own regs --
setting them to the value they already are.

Less magical code.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220506121631.365070674@infradead.org
arch/x86/entry/calling.h
arch/x86/entry/entry_64.S