]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaec4c25e2991b5c37f31fbad21e1b674be9a7ae9
treede61890b69d7a9d86f570487e0be82fcbf528942
parent1b1260876a05fca9408cb264b5860718934973f2
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