diff options
author | Jeff Dike <[email protected]> | 2008-02-04 22:31:09 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-02-05 09:44:29 -0800 |
commit | fce8c41c9f68b9af36f3076bae8f1d469a6e7aab (patch) | |
tree | 3580fd114bcef42a898c838f5a58ddcb2d29ae99 /arch/um/drivers/net_user.c | |
parent | 0983a88b9f0ceffb2116ce92c7b273ce2aec7b93 (diff) |
uml: use barrier() instead of mb()
signals_enabled and pending have requirements on the order in which they are
modified. This used to be done by declaring them volatile and putting an mb()
where the ordering requirements were in effect.
After getting a better (I hope) understanding of how to do this correctly, the
volatile declarations are gone and the mb()'s replaced by barrier()'s.
One of the mb()'s was deleted because I see no problematic writes that could
be re-ordered past that point.
Signed-off-by: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/um/drivers/net_user.c')
0 files changed, 0 insertions, 0 deletions