]> err.no Git - linux-2.6/commit
[PATCH] Use atomic64_set for 64-bit case of atomic_long_set
authorKyle McMartin <kyle@parisc-linux.org>
Sun, 15 Jan 2006 17:10:55 +0000 (12:10 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 15 Jan 2006 18:17:07 +0000 (10:17 -0800)
commit6b4977ce0fb9a989ba24fd6b757d07a566abc23d
treea65447b794fe9c9f15c34565c3b5fccc22d261d5
parent69ff56c166629224e9fe914b8543021dc2f001f0
[PATCH] Use atomic64_set for 64-bit case of atomic_long_set

For some reason, the BITS_PER_LONG == 64 case of atomic_long_set
was using atomic_set instead of atomic64_set. This does not jive
with architectures which use an inline instead of a #define to
implement their atomic_set() primitives.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-generic/atomic.h