commit | d356b595e5a95c0c2305ec0a7d1cdb3e26f57716 | [log] [tgz] |
---|---|---|
author | Chris Metcalf <cmetcalf@tilera.com> | Fri Feb 25 08:46:38 2011 -0500 |
committer | Chris Metcalf <cmetcalf@tilera.com> | Fri Feb 25 08:46:38 2011 -0500 |
tree | 8256f0460d6ff5f50d57590a53c10336b66cb241 | |
parent | deb4b003eb33e63af23cd887ded04ad77ab3dcbb [diff] |
arch/tile: Fix atomic_read() definition to use ACCESS_ONCE This adds the volatile cast which forces the compiler to emit the load. Suggested by Peter Zijlstra <peterz@infradead.org>. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>