Is volatile always verboten for FSL QE structures?

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Oct 3 21:20:08 EST 2009


> Making the target of foo volatile properly rechecks the condition on
> each iteration.
> 
> OTOH my PPC box runs fine, so I'm probably missing something obvious.

Probably because the IO accessors do -both- volatile casts and
add the barriers :-) 

Ben.




More information about the Linuxppc-dev mailing list