Messages in this thread Patch in this message | | | From | Herbert Xu <> | Subject | Re: Linux v2.6.20-rc5 | Date | Tue, 23 Jan 2007 14:11:45 +1100 |
| |
Jeff Chua <jeff.chua.linux@gmail.com> wrote: > > > From: Jeff Chua <jchua@fedex.com> > >> CC [M] drivers/kvm/vmx.o >> {standard input}: Assembler messages: >> {standard input}:3257: Error: bad register name `%sil' >> make[2]: *** [drivers/kvm/vmx.o] Error 1 >> make[1]: *** [drivers/kvm] Error 2 >> make: *** [drivers] Error 2 > > I'm not using the kernel profiler, so here's a patch to make it work without > CONFIG_PROFILING.
Actually that only happens to work by chance (by making one of al/bl/cl/dl available). This patch should fix it properly.
Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index ce219e3..0aa2659 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c @@ -1824,7 +1824,7 @@ again: #endif "setbe %0 \n\t" "popf \n\t" - : "=g" (fail) + : "=q" (fail) : "r"(vcpu->launched), "d"((unsigned long)HOST_RSP), "c"(vcpu), [rax]"i"(offsetof(struct kvm_vcpu, regs[VCPU_REGS_RAX])), - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |