Am Donnerstag, 26. Juni 2008 schrieb Anthony Liguori:
> Marcelo Tosatti wrote:
> > Some pvmmu functions store their commands on stack, and newer GCC
> > versions conclude that these commands are unused.
> >
> > So stick an inline asm statement to convince the compiler otherwise.
> >   
> 
> I think a better fix is to add a "memory " clobber to the hypercalls.  
> This isn't really a GCC bug since it doesn't realize that hypercalls can 
> touch memory.

Thats what we do on asm-s390/kvm_para.h. Our hypercalls do have a memory 
clobber.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to