kernel-ark/include/asm-sh
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
..
adx
bigsur
cat68701
cpu-sh2
cpu-sh3
cpu-sh4
cqreek
dmida
dreamcast
ec3104
edosk7705
harp
hd64461
hd64465
hp6xx
hs7751rvoip
microdev
mpc1211
overdrive
rts7751r2d
saturn
se
se7300
se7751
se73180
sh03
sh2000
snapgear
systemh
a.out.h
adc.h
addrspace.h
atomic.h [PATCH] atomic_long_t & include/asm-generic/atomic.h V2 2006-01-06 08:33:29 -08:00
auxvec.h
bitops.h [FLS64]: generic version 2006-01-03 13:11:06 -08:00
bug.h
bugs.h
bus-sh.h
byteorder.h
cache.h
cacheflush.h
checksum.h
cputime.h
current.h
delay.h
div64.h
dma-mapping.h [PATCH] gfp_t: dma-mapping (sh) 2005-10-28 08:16:48 -07:00
dma.h
elf.h [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
emergency-restart.h
errno.h
fcntl.h
fixmap.h
flat.h
floppy.h
freq.h
futex.h
hardirq.h
hw_irq.h
ide.h [PATCH] ide: move CONFIG_IDE_MAX_HWIFS into linux/ide.h 2005-11-09 22:58:07 +01:00
io_generic.h
io.h
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq-sh73180.h
irq.h
keyboard.h
kgdb.h
kmap_types.h
linkage.h
local.h
machvec_init.h
machvec.h [PATCH] gfp_t: dma-mapping (sh) 2005-10-28 08:16:48 -07:00
mc146818rtc.h
mman.h [PATCH] madvise(MADV_REMOVE): remove pages from tmpfs shm backing store 2006-01-06 08:33:22 -08:00
mmu_context.h
mmu.h
module.h
msgbuf.h
namei.h
numnodes.h
page.h [PATCH] sh: Drop hp690 discontig support 2005-11-07 07:53:28 -08:00
param.h
pci.h
percpu.h
pgalloc.h
pgtable-2level.h
pgtable.h [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
poll.h
posix_types.h
processor.h
ptrace.h
resource.h
rtc.h
rwsem.h [PATCH] add sem_is_read/write_locked() 2005-10-29 21:40:35 -07:00
scatterlist.h
sections.h
segment.h
semaphore-helper.h
semaphore.h [PATCH] semaphore: Remove __MUTEX_INITIALIZER() 2005-10-30 17:37:27 -08:00
sembuf.h
serial.h
setup.h
sh_bios.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
spinlock_types.h
spinlock.h
stat.h
statfs.h
string.h
system.h
termbits.h
termios.h
thread_info.h
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h
ubc.h
ucontext.h
unaligned.h
unistd.h [PATCH] unify sys_ptrace prototype 2005-10-30 17:37:20 -08:00
user.h
watchdog.h
xor.h