android_kernel_xiaomi_sm8350/include/asm-xtensa
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
..
platform-iss
xtensa
a.out.h
atomic.h [PATCH] atomic_long_t & include/asm-generic/atomic.h V2 2006-01-06 08:33:29 -08:00
auxvec.h [PATCH] auxiliary vector cleanups 2005-09-07 16:57:21 -07:00
bitops.h [FLS64]: generic version 2006-01-03 13:11:06 -08:00
bootparam.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h [PATCH] xtensa: replace 'extern inline' with 'static inline' 2005-09-05 00:06:25 -07:00
coprocessor.h
cpumask.h
cputime.h
current.h
delay.h [PATCH] xtensa: replace 'extern inline' with 'static inline' 2005-09-05 00:06:25 -07:00
div64.h
dma-mapping.h [PATCH] gfp_t: dma-mapping (xtensa) 2005-10-28 08:16:49 -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 [PATCH] Clean up struct flock64 definitions 2005-09-07 16:57:38 -07:00
fixmap.h
hardirq.h [PATCH] xtensa: remove io_remap_page_range and minor clean-ups 2005-09-22 22:17:37 -07:00
highmem.h
hw_irq.h
ide.h
io.h [PATCH] xtensa: replace 'extern inline' with 'static inline' 2005-09-05 00:06:25 -07:00
ioctl.h
ioctls.h
ipcbuf.h
irq.h
kmap_types.h
linkage.h
local.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 [PATCH] xtensa: replace 'extern inline' with 'static inline' 2005-09-05 00:06:25 -07:00
mmu.h
module.h
msgbuf.h
namei.h
page.h [PATCH] xtensa: replace 'extern inline' with 'static inline' 2005-09-05 00:06:25 -07:00
param.h
pci-bridge.h
pci.h [PATCH] xtensa: replace 'extern inline' with 'static inline' 2005-09-05 00:06:25 -07:00
percpu.h
pgalloc.h
pgtable.h [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
platform.h
poll.h
posix_types.h
processor.h
ptrace.h kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
resource.h
rmap.h
rwsem.h
scatterlist.h
sections.h
segment.h
semaphore.h [PATCH] xtensa: struct semaphore.sleepers initialization 2005-11-07 07:53:32 -08:00
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
spinlock.h
stat.h
statfs.h
string.h [PATCH] xtensa: replace 'extern inline' with 'static inline' 2005-09-05 00:06:25 -07:00
system.h [PATCH] xtensa: remove io_remap_page_range and minor clean-ups 2005-09-22 22:17:37 -07:00
termbits.h
termios.h
thread_info.h
timex.h
tlb.h
tlbflush.h [PATCH] xtensa: replace 'extern inline' with 'static inline' 2005-09-05 00:06:25 -07:00
topology.h
types.h
uaccess.h kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
ucontext.h
unaligned.h
unistd.h
user.h
vga.h
xor.h