x86-64: Slightly shorten int_ret_from_sys_call
authorJan Beulich <JBeulich@suse.com>
Tue, 29 Nov 2011 10:54:22 +0000 (10:54 +0000)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Dec 2011 16:24:37 +0000 (17:24 +0100)
commit70ea6855d368588a7f1b0242ab83ca6fe2e2ff16
treede61890b69d7a9d86f570487e0be82fcbf528942
parente9a9eca517d4cd94e816538efc400257e34bc63e
x86-64: Slightly shorten int_ret_from_sys_call

Testing for a return to ring 0 was necessary here solely because
of the branch out of ret_from_fork. That branch, however, can be
directed to retint_restore_args, and thus the test-and-branch
can be eliminated here.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/4ED4C7EE0200007800064028@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_64.S