linux/arch/cris/include/asm
Peter Zijlstra 7179e30ef6 locking,arch,cris: Fold atomic_ops
Many of the atomic op implementations are the same except for one
instruction; fold the lot into a few CPP macros and reduce LoC.

This also prepares for easy addition of new ops.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: linux-cris-kernel@axis.com
Link: http://lkml.kernel.org/r/20140508135852.104572724@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-08-14 12:48:06 +02:00
..
asm-offsets.h kbuild: move asm-offsets.h to include/generated 2009-12-12 13:08:14 +01:00
atomic.h locking,arch,cris: Fold atomic_ops 2014-08-14 12:48:06 +02:00
axisflashmap.h
bitops.h arch,cris: Convert smp_mb__*() 2014-04-18 14:20:00 +02:00
bug.h
bugs.h
cache.h
cacheflush.h block: add helpers to run flush_dcache_page() against a bio and a request's pages 2009-11-26 09:16:19 +01:00
checksum.h
cmpxchg.h Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
current.h
delay.h
device.h
div64.h
dma-mapping.h cris: Provide dma_mmap_coherent() and dma_get_sgtable() 2013-01-29 08:11:14 +01:00
dma.h
elf.h default SET_PERSONALITY() in linux/elf.h 2013-02-26 02:46:08 -05:00
emergency-restart.h
eshlibld.h
etraxi2c.h
fasttimer.h
fb.h
ftrace.h tracing: make CALLER_ADDRx overwriteable 2009-03-02 16:49:37 -05:00
futex.h
hardirq.h hardirq: Make hardirq bits generic 2013-11-13 20:21:46 +01:00
hw_irq.h
io.h cris: provide {in,out}[wl]_p() 2014-01-23 16:36:50 -08:00
irq_regs.h
irq.h
irqflags.h Fix IRQ flag handling naming 2010-10-07 14:08:55 +01:00
Kbuild arch: Remove stub cputime.h headers 2014-03-13 16:09:30 +01:00
kdebug.h
kmap_types.h kmap_types: make most arches use generic header file 2009-06-16 19:47:51 -07:00
local64.h arch: Implement local64_t 2010-06-09 11:12:36 +02:00
local.h
mmu_context.h CRIS: Change DEFINE_PER_CPU of current_pgd to be non volatile. 2009-06-24 15:13:41 +09:00
mmu.h
mutex.h
page.h mm/CRIS: clean up unused VALID_PAGE() 2013-07-03 16:07:39 -07:00
pci.h PCI: Turn pcibios_penalize_isa_irq() into a weak function 2014-05-27 16:23:58 -06:00
percpu.h
pgalloc.h cris: handle pgtable_page_ctor() fail 2013-11-15 09:32:17 +09:00
pgtable.h consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
processor.h arch, locking: Ciao arch_mutex_cpu_relax() 2014-07-17 12:32:47 +02:00
ptrace.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2012-12-20 18:05:28 -08:00
scatterlist.h remove needless ISA_DMA_THRESHOLD 2010-08-07 18:15:50 +02:00
sections.h
segment.h
serial.h cris: add arch/cris/include/asm/serial.h 2011-08-25 16:25:35 -07:00
shmparam.h
signal.h cris: switch to generic old sigaction() 2013-02-03 18:15:53 -05:00
smp.h
spinlock.h
string.h CRISv32: Add arch optimized strcmp. 2009-06-10 15:21:03 +02:00
swab.h UAPI: (Scripted) Disintegrate arch/cris/include/asm 2012-10-09 09:46:45 +01:00
switch_to.h Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
termios.h UAPI: (Scripted) Disintegrate arch/cris/include/asm 2012-10-09 09:46:45 +01:00
thread_info.h preempt: Make PREEMPT_ACTIVE generic 2013-11-13 20:21:47 +01:00
timex.h
tlb.h
tlbflush.h
topology.h
types.h UAPI: (Scripted) Disintegrate arch/cris/include/asm 2012-10-09 09:46:45 +01:00
uaccess.h
ucontext.h
unaligned.h
unistd.h sys_sgetmask/sys_ssetmask: add CONFIG_SGETMASK_SYSCALL 2014-06-04 16:54:14 -07:00
user.h