x86/asm/entry/64: Move retint_kernel code block closer to its user
authorDenys Vlasenko <dvlasenk@redhat.com>
Mon, 30 Mar 2015 18:09:31 +0000 (20:09 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 31 Mar 2015 07:31:11 +0000 (09:31 +0200)
commit627276cb55f33e2dc56eab5b973937c128b7704c
treef1e0a343d2a64d19841bdd83c30831db3bbbd863
parent4ee8ec17ba00fce4af042543771f996fb9d98d34
x86/asm/entry/64: Move retint_kernel code block closer to its user

The "retint_kernel" code block is misplaced. Since its logical
continuation is "retint_restore_args", it is more natural to
place it above that label. This also makes two jumps "short".

This change only moves code block around, without changing
logic.

This enables the next simplification: making
"retint_restore_args" label a local numeric one.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Will Drewry <wad@chromium.org>
Link: http://lkml.kernel.org/r/1427738975-7391-2-git-send-email-dvlasenk@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/entry_64.S