x86/asm/entry/64: Fold identical code paths
authorJan Beulich <[email protected]>
Mon, 1 Jun 2015 12:03:59 +0000 (13:03 +0100)
committerIngo Molnar <[email protected]>
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 <[email protected]>
Cc: Andy Lutomirski <[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: Linus Torvalds <[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]>
arch/x86/kernel/entry_64.S