linux-stable-rt/include/asm-generic
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
..
4level-fixup.h [PATCH] mm: ptd_alloc inline and out 2005-10-29 21:40:40 -07:00
atomic.h [PATCH] atomic_long_t & include/asm-generic/atomic.h V2 2006-01-06 08:33:29 -08:00
bitops.h [FLS64]: generic version 2006-01-03 13:11:06 -08:00
bug.h
cputime.h
div64.h
dma-mapping-broken.h [PATCH] gfp_t: dma-mapping (simple cases) 2005-10-28 08:16:49 -07:00
dma-mapping.h [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
emergency-restart.h
errno-base.h
errno.h
fcntl.h [PATCH] Clean up struct flock64 definitions 2005-09-07 16:57:38 -07:00
ide_iops.h
iomap.h
ipc.h
local.h
page.h
pci-dma-compat.h
pci.h [PATCH] Make sparc64 use setup-res.c 2005-09-08 14:57:25 -07:00
percpu.h
pgtable-nopmd.h
pgtable-nopud.h
pgtable.h [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
resource.h
rtc.h
sections.h [PATCH] x86_64: Only use asm/sections.h to declare section symbols 2005-11-14 19:55:14 -08:00
siginfo.h
signal.h
statfs.h
termios.h
tlb.h [PATCH] mm: tlb_finish_mmu forget rss 2005-10-29 21:40:37 -07:00
topology.h
uaccess.h
unaligned.h [PATCH] optimise 64bit unaligned access on 32bit kernel 2005-09-07 16:57:36 -07:00
vmlinux.lds.h [PATCH] RapidIO support: core base 2005-11-07 07:53:46 -08:00
xor.h