Re: [kvm-devel] [PATCH 4/5] KVM: Fix asm constraints with CONFIG_FRAME_POINTER=n

2007-01-22 Thread Herbert Xu
Avi Kivity <[EMAIL PROTECTED]> wrote: > A "g" constraint may place a local variable in an %rsp-relative memory > operand. > but if your assembly changes %rsp, the operand points to the wrong location. > > An "r" constraint fixes that. > > Thanks to Ingo Molnar for neatly bisecting the problem. >

[kvm-devel] [PATCH 4/5] KVM: Fix asm constraints with CONFIG_FRAME_POINTER=n

2007-01-11 Thread Avi Kivity
A "g" constraint may place a local variable in an %rsp-relative memory operand. but if your assembly changes %rsp, the operand points to the wrong location. An "r" constraint fixes that. Thanks to Ingo Molnar for neatly bisecting the problem. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: