On Wed, Oct 20, 2010 at 05:56:17PM +0200, Andi Kleen wrote: > From: Andi Kleen <ak@xxxxxxxxxxxxxxx> > > gcc 4.5 with some special options is able to duplicate the VMX > context switch asm in vmx_vcpu_run(). This results in a compile error > because the inline asm sequence uses an on local label. The non local > label is needed because other code wants to set up the return address. > > This patch moves the asm code into an own function and marks > that explicitely noinline to avoid this problem. > > Better would be probably to just move it into an .S file. > > The diff looks worse than the change really is, it's all just > code movement and no logic change. > > Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html