x86/asm/entry/64: Fold identical code paths
authorJan Beulich <JBeulich@suse.com>
Mon, 1 Jun 2015 12:03:59 +0000 (13:03 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 2 Jun 2015 08:10:09 +0000 (10:10 +0200)
commit2f63b9db7260beba3c19d66d6c11b0b78ea84a8c
treec56e0e4d2003abcb0b3d4736e5c14909f6449140
parent2bf557ea3f49576fabe24cd5daf1a34e9ee22c3c
x86/asm/entry/64: Fold identical code paths

retint_kernel doesn't require %rcx to be pointing to thread info
(anymore?), and the code on the two alternative paths is - not
really surprisingly - identical.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/556C664F020000780007FB64@mail.emea.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/entry_64.S