|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Prevent incorrect optimization of read_crx()
On 11/9/07 07:52, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:
> Wouldn't you need to put __volatile__ in write_crX(), too?
Actually it is surprising that the compiler hasn't been optimising away our
write_cr0() entirely. Perhaps it special cases asm blocks with no outputs.
Adding the volatile keyword makes a lot of sense anyway.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|