<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/asm-generic/atomic.h, branch v2.6.16.43</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/include/asm-generic/atomic.h?h=v2.6.16.43</id>
<link rel='self' href='https://git.amat.us/linux/atom/include/asm-generic/atomic.h?h=v2.6.16.43'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2006-01-15T18:17:07Z</updated>
<entry>
<title>[PATCH] Use atomic64_set for 64-bit case of atomic_long_set</title>
<updated>2006-01-15T18:17:07Z</updated>
<author>
<name>Kyle McMartin</name>
<email>kyle@parisc-linux.org</email>
</author>
<published>2006-01-15T17:10:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6b4977ce0fb9a989ba24fd6b757d07a566abc23d'/>
<id>urn:sha1:6b4977ce0fb9a989ba24fd6b757d07a566abc23d</id>
<content type='text'>
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 &lt;kyle@parisc-linux.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] asm-generic/atomic.h needs types.h</title>
<updated>2006-01-09T04:12:38Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2006-01-08T09:00:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5998bf1ddb5fb236597190b2274d357add63fd7e'/>
<id>urn:sha1:5998bf1ddb5fb236597190b2274d357add63fd7e</id>
<content type='text'>
For BITS_PER_LONG

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] atomic_long_t &amp; include/asm-generic/atomic.h V2</title>
<updated>2006-01-06T16:33:29Z</updated>
<author>
<name>Christoph Lameter</name>
<email>clameter@engr.sgi.com</email>
</author>
<published>2006-01-06T08:11:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d3cb487149bd706aa6aeb02042332a450978dc1c'/>
<id>urn:sha1:d3cb487149bd706aa6aeb02042332a450978dc1c</id>
<content type='text'>
Several counters already have the need to use 64 atomic variables on 64 bit
platforms (see mm_counter_t in sched.h).  We have to do ugly ifdefs to fall
back to 32 bit atomic on 32 bit platforms.

The VM statistics patch that I am working on will also make more extensive
use of atomic64.

This patch introduces a new type atomic_long_t by providing definitions in
asm-generic/atomic.h that works similar to the c "long" type.  Its 32 bits
on 32 bit platforms and 64 bits on 64 bit platforms.

Also cleans up the determination of the mm_counter_t in sched.h.

Signed-off-by: Christoph Lameter &lt;clameter@sgi.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
