android_kernel_xiaomi_sm8350/include/asm-sparc
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
..
a.out.h
apc.h
asi.h
asmmacro.h
atomic.h [PATCH] atomic_long_t & include/asm-generic/atomic.h V2 2006-01-06 08:33:29 -08:00
auxio.h
auxvec.h [PATCH] auxiliary vector cleanups 2005-09-07 16:57:21 -07:00
bitext.h
bitops.h [FLS64]: generic version 2006-01-03 13:11:06 -08:00
bpp.h
bsderrno.h
btfixup.h [PATCH] fix the breakage in sparc headers 2005-10-05 07:33:42 -07:00
bug.h [PATCH] remove all kernel BUGs 2005-05-01 08:59:01 -07:00
bugs.h
byteorder.h
cache.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
cacheflush.h
checksum.h
clock.h
contregs.h
cpudata.h
cputime.h
current.h
cypress.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
delay.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
div64.h
dma-mapping.h [PATCH] gfp_t: dma-mapping (simple cases) 2005-10-28 08:16:49 -07:00
dma.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
ebus.h
ecc.h
eeprom.h
elf.h
emergency-restart.h [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
errno.h [PATCH] add EOWNERDEAD and ENOTRECOVERABLE version 2 2005-05-01 08:59:06 -07:00
fbio.h
fcntl.h [PATCH] Clean up struct flock64 definitions 2005-09-07 16:57:38 -07:00
fixmap.h
floppy.h [PATCH] remove some more check_region stuff 2005-10-30 17:37:18 -08:00
futex.h [PATCH] Remove unused var from asm/futex.h 2005-09-21 16:16:29 -07:00
hardirq.h
head.h
highmem.h
hw_irq.h
ide.h
idprom.h
io-unit.h
io.h
ioctl.h
ioctls.h
iommu.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
ipc.h
ipcbuf.h
irq.h
jsflash.h
kdebug.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
kgdb.h
kmap_types.h
linkage.h
local.h
machines.h
mbus.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
mc146818rtc.h
memreg.h [PATCH] sun4c_memerr_reg __iomem annotations 2005-12-15 10:01:29 -08:00
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
mostek.h
mpmbox.h
msgbuf.h
msi.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
mxcc.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
namei.h
obio.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
openprom.h
openpromio.h
oplib.h
page.h [PATCH] mm: consolidate get_order 2005-09-05 00:05:39 -07:00
param.h
pbm.h
pci.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
pcic.h [PATCH] fix iomem annotations in sparc32 pcic code 2005-12-15 10:01:28 -08:00
pconf.h
percpu.h
perfctr.h
pgalloc.h
pgtable.h [PATCH] vm: remove unused/broken page_pte[_prot] macros 2005-10-30 17:37:22 -08:00
pgtsrmmu.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
pgtsun4.h
pgtsun4c.h
poll.h
posix_types.h
processor.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
psr.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
ptrace.h [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
reg.h
resource.h
ross.h
rtc.h
sbi.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
sbus.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
scatterlist.h
sections.h
semaphore.h [PATCH] semaphore: Remove __MUTEX_INITIALIZER() 2005-10-30 17:37:27 -08:00
sembuf.h
setup.h
sfp-machine.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
smp.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
smpprim.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
socket.h [NET]: Introduce SO_{SND,RCV}BUFFORCE socket options 2005-08-29 15:31:35 -07:00
sockios.h
solerrno.h
spinlock_types.h [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
spinlock.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
stat.h
statfs.h
string.h
sun4paddr.h
sun4prom.h
sunbpp.h
svr4.h
swift.h
sysen.h
system.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
termbits.h
termios.h [SPARC]: remove duplicate TIOCPKT_ definitions 2005-11-07 14:10:42 -08:00
thread_info.h [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
timer.h
timex.h
tlb.h
tlbflush.h
topology.h
traps.h [SPARC]: "extern inline" doesn't make much sense. 2005-10-03 17:37:02 -07:00
tsunami.h
turbosparc.h
types.h [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
uaccess.h [PATCH] remove verify_area(): remove verify_area() from various uaccess.h headers 2005-09-07 16:57:35 -07:00
unaligned.h
unistd.h [SPARC]: Add inotify syscall entries. 2005-07-27 14:14:39 -07:00
user.h
vac-ops.h
vaddrs.h
vfc_ioctls.h
viking.h
winmacro.h
xor.h