x86-64: Cleanup some assembly entry points
commitf6b2bc847641ea38e2655c8424fef5d2d19f35f9
authorJan Beulich <JBeulich@suse.com>
Tue, 29 Nov 2011 11:24:10 +0000 (29 11:24 +0000)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Dec 2011 16:24:43 +0000 (5 17:24 +0100)
tree47f7d2ebb9cd1434b5fd8ef0113a4b0cbb0741a2
parent46db09d3fd847f185a7d23a96bc8fe7a4be0cd05
x86-64: Cleanup some assembly entry points

system_call_after_swapgs doesn't really benefit from forcing
alignment from it - quite the opposite, native code needlessly
so far got a big NOP instruction inserted in front of it. Xen
being the only user of the separate entry point can well live
with the branch going to three bytes into a cache line.

The compatibility mode ptregs entry points for one can make use
of the GLOBAL() macro, and should be suitably aligned. Their
shared continuation point (ia32_ptregs_common) otoh doesn't need
to be global at all, but should continue to be properly aligned.

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