WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

Re: [XenPPC] [RFC] fix stupid grant table flags


On Jun 22, 2006, at 3:24 PM, Hollis Blanchard wrote:

On Wed, 2006-06-21 at 18:49 -0400, Jimi Xenidis wrote:
       laddr = (volatile unsigned long *)addr;
       clear_bit(lnr, laddr);
   }

Why all the "volatile" here? This function isn't dereferencing those
pointers, so it shouldn't matter?

Just wanted to retain the qualifier from clear_bit(). I suppose no one will call this function with a volatile so it would not hurt to drop it.
-JX


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel