linux/include/asm-powerpc
Christoph Lameter d3cb487149 [PATCH] atomic_long_t & include/asm-generic/atomic.h V2
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 <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-06 08:33:29 -08:00
..
2005-10-11 09:59:38 +10:00
2006-01-03 13:11:06 -08:00
2005-09-28 15:42:53 +10:00
2005-11-18 14:39:23 +11:00
2005-11-10 11:23:53 +11:00
2005-11-19 01:48:52 +11:00
2005-09-22 21:03:33 +10:00
2005-11-08 12:20:34 +11:00
2005-11-14 16:33:05 +11:00
2005-10-27 20:50:54 +10:00
2005-11-19 20:46:04 +11:00
2005-11-19 20:46:04 +11:00
2005-11-08 11:17:40 +11:00
2005-11-03 16:03:07 +11:00
2005-11-03 14:41:19 +11:00
2005-10-31 13:37:12 +11:00
2005-10-31 13:37:12 +11:00
2005-11-03 16:24:25 +11:00
2005-11-10 11:23:46 +11:00
2005-11-07 13:18:13 +11:00
2005-11-08 11:17:40 +11:00
2005-11-19 20:50:46 +11:00
2005-11-03 16:02:23 +11:00
2005-11-23 21:23:20 +11:00
2005-11-01 14:36:55 +11:00
2005-11-06 16:56:47 -08:00
2005-10-12 08:24:47 -07:00
2005-11-04 10:20:27 +11:00
2005-11-06 16:56:47 -08:00
2005-10-27 16:45:50 +10:00
2005-11-03 16:59:17 +11:00
2005-10-31 13:37:12 +11:00
2005-09-21 19:21:09 +10:00