[PATCH] PPC64: fix to Re: should cpus_in_xmon be volatile?

Linas Vepstas linas at austin.ibm.com
Sat Nov 20 10:44:02 EST 2004


On Sat, Nov 20, 2004 at 10:00:15AM +1100, Paul Mackerras was heard to remark:
> Linas Vepstas writes:
> 
> > Here's a patch that fixes a compiler warning.  It casts away volatile
> > as per previous email.
> 
> I think this is a better approach: remove the volatile from
> cpus_in_xmon, 

OK, the reason I didn't remove the volatile is because it wasn't clear
that none of the other spots weren't written in a way that required
volatile.  I was too lazy to do that review; I assume its safe, then?

--linas




More information about the Linuxppc64-dev mailing list