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-02 15:53:01 +11:00
2005-11-10 11:24:04 +11:00
2005-11-10 13:10:38 +11:00
2006-01-06 08:33:29 -08:00
2005-11-11 22:25:39 +11:00
2006-01-03 13:11:06 -08:00
2005-11-14 17:22:01 +11:00
2005-11-10 13:10:38 +11:00
2005-11-10 13:09:22 +11:00
2005-11-10 13:09:22 +11:00
2005-11-10 11:24:04 +11:00
2005-11-18 14:39:23 +11:00
2005-11-10 11:23:53 +11:00
2005-11-18 14:08:12 +11:00
2005-11-19 01:48:52 +11:00
2005-11-10 11:38:05 +11:00
2005-11-17 16:53:38 +11:00
2005-11-11 22:25:39 +11:00
2005-11-10 13:37:51 +11:00
2005-11-14 17:22:01 +11:00
2005-11-10 13:10:38 +11:00
2005-11-10 15:32:37 +11:00
2005-11-14 17:22:01 +11:00
2005-11-14 17:22:01 +11:00
2005-11-09 16:19:53 +11:00
2005-11-08 12:20:34 +11:00
2005-11-19 20:17:32 +11:00
2005-11-23 21:23:20 +11:00
2005-11-03 16:58:17 +11:00
2005-11-11 22:19:56 +11:00
2005-11-14 16:34:06 +11:00
2005-11-07 07:53:45 -08:00
2005-11-10 11:24:04 +11:00
2005-11-14 16:33:09 +11:00
2006-01-06 08:33:22 -08:00
2005-11-19 20:17:32 +11:00
2005-12-09 16:30:48 +11:00
2005-11-19 20:17:32 +11:00
2005-11-02 15:25:42 +11:00
2005-11-15 11:17:02 +11:00
2005-11-10 11:24:04 +11:00
2005-11-14 17:32:50 +11:00
2005-11-25 22:12:45 +11:00
2005-11-14 16:33:05 +11:00
2005-11-19 20:17:32 +11:00
2005-11-19 20:46:04 +11:00
2005-11-19 20:17:32 +11:00
2005-11-19 20:17:32 +11:00
2005-11-19 20:17:32 +11:00
2005-11-19 20:17:32 +11:00
2005-11-09 07:55:52 -08:00
2005-11-10 13:10:38 +11:00
2005-11-19 20:46:04 +11:00
2005-11-11 22:25:39 +11:00
2005-11-08 11:17:40 +11:00
2005-11-03 16:03:07 +11:00
2005-11-10 13:09:22 +11:00
2005-11-10 13:37:51 +11:00
2005-11-03 14:41:19 +11:00
2005-11-14 17:22:01 +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-11 22:21:41 +11:00
2005-11-19 20:50:46 +11:00
2005-11-03 16:02:23 +11:00
2005-11-10 15:53:40 +11:00
2005-11-23 21:23:20 +11:00
2005-11-06 16:56:47 -08:00
2005-11-01 16:59:20 +11:00
2005-11-04 10:20:27 +11:00
2005-11-06 16:56:47 -08:00
2005-11-18 13:18:11 +11:00
2005-11-10 13:10:38 +11:00
2005-11-03 16:59:17 +11:00
2005-11-11 22:23:34 +11:00
2005-11-14 16:35:58 +11:00
2005-11-16 14:05:11 +11:00
2005-11-08 22:55:08 +11:00