diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2007-08-11 10:15:30 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-08-17 11:01:58 +1000 |
commit | 9f0cbea0d8cc47801b853d3c61d0e17475b0cc89 (patch) | |
tree | b1cd6fe848a7544a834d0073297193069c24c7dd /include/asm-powerpc/lmb.h | |
parent | c6d4267eced79775399f256fbb4adb671e9b597e (diff) |
[POWERPC] Implement atomic{, 64}_{read, write}() without volatile
Instead, use asm() like all other atomic operations already do.
Also use inline functions instead of macros; this actually
improves code generation (some code becomes a little smaller,
probably because of improved alias information -- just a few
hundred bytes total on a default kernel build, nothing shocking).
Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/lmb.h')
0 files changed, 0 insertions, 0 deletions