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-11-28 21:00:29 +00:00
2005-11-13 18:14:17 -08:00
2005-10-22 14:27:05 -04:00
2005-10-28 08:16:49 -07:00
2005-10-04 13:22:01 -07:00
2006-01-03 13:11:06 -08:00
2005-10-30 17:37:10 -08:00
2005-11-05 21:00:02 -05:00
2005-11-13 18:14:10 -08:00
2005-10-30 17:37:32 -08:00
2005-11-10 02:26:41 +01:00
2005-11-22 19:39:30 -08:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-12-15 02:20:15 +01:00
2005-11-08 17:14:08 +01:00
2005-11-08 09:40:47 -08:00
2005-09-19 15:41:28 -07:00
2005-11-07 14:18:56 +01:00
2005-09-17 11:50:02 -07:00
2005-10-08 15:00:57 -07:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:17 -08:00
2005-12-13 02:30:04 -05:00
2005-12-12 08:57:43 -08:00
2005-10-28 08:16:47 -07:00
2005-11-28 14:42:23 -08:00
2005-09-14 08:46:21 -04:00
2006-01-06 08:33:24 -08:00
2005-11-07 18:18:11 -08:00
2005-11-09 07:56:00 -08:00
2006-01-06 08:33:20 -08:00
2006-01-03 13:11:15 -08:00
2005-12-19 23:12:09 -05:00
2006-01-06 08:33:26 -08:00
2005-11-13 18:14:12 -08:00
2005-12-12 08:57:45 -08:00
2005-11-13 18:14:15 -08:00
2005-09-13 08:22:31 -07:00
2005-11-07 07:53:42 -08:00
2005-11-07 07:53:39 -08:00
2005-11-06 12:32:31 -06:00
2005-10-28 08:16:47 -07:00
2005-11-07 07:53:46 -08:00
2006-01-06 08:33:27 -08:00
2005-10-30 11:14:39 +11:00
2005-11-07 07:53:41 -08:00
2005-10-30 17:37:32 -08:00
2005-11-07 07:53:37 -08:00
2005-10-30 17:37:19 -08:00
2006-01-03 14:06:50 -08:00
2006-01-06 08:33:26 -08:00
2005-10-30 17:37:20 -08:00
2005-10-30 17:37:32 -08:00
2005-09-18 00:18:32 -07:00
2005-12-12 08:57:42 -08:00
2005-10-30 17:37:18 -08:00
2005-10-28 08:16:46 -07:00
2005-10-28 08:16:49 -07:00
2005-10-29 21:40:35 -07:00
2005-11-07 07:53:41 -08:00