kernel-hacking-2024-linux-s.../arch/arc/include/asm
Peter Zijlstra 93ea02bb84 arch: Clean up asm/barrier.h implementations using asm-generic/barrier.h
We're going to be adding a few new barrier primitives, and in order to
avoid endless duplication make more agressive use of
asm-generic/barrier.h.

Change the asm-generic/barrier.h such that it allows partial barrier
definitions and fills out the rest with defaults.

There are a few architectures (m32r, m68k) that could probably
do away with their barrier.h file entirely but are kept for now due to
their unconventional nop() implementation.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Michael Ellerman <michael@ellerman.id.au>
Cc: Michael Neuling <mikey@neuling.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Victor Kaplansky <VICTORK@il.ibm.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/20131213150640.846368594@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-01-12 10:37:15 +01:00
..
arcregs.h ARC: pt_regs update #5: Use real ECR for pt_regs->event vs. synth values 2013-06-26 14:04:48 +05:30
asm-offsets.h
atomic.h arch: Move smp_mb__{before,after}_atomic_{inc,dec}.h into asm/atomic.h 2014-01-12 10:37:14 +01:00
barrier.h arch: Move smp_mb__{before,after}_atomic_{inc,dec}.h into asm/atomic.h 2014-01-12 10:37:14 +01:00
bitops.h
bug.h ARC: Remove explicit passing around of ECR 2013-06-26 15:30:50 +05:30
cache.h ARC: cacheflush refactor #2: I and D caches lines to have same size 2013-11-06 10:41:37 +05:30
cacheflush.h ARC: [mm] Assume pagecache page dirty by default 2013-06-22 19:23:19 +05:30
checksum.h
clk.h
cmpxchg.h
current.h
delay.h ARC: Fix __udelay calculation 2013-09-05 10:31:12 +05:30
disasm.h
dma-mapping.h
dma.h
elf.h
entry.h ARC: Exception Handlers Code consolidation 2013-08-26 09:40:25 +05:30
exec.h
futex.h
io.h ARC: Add read*_relaxed to asm/io.h 2013-09-05 10:31:11 +05:30
irq.h arc: remove '__init' for get_hw_config_num_irq() 2013-11-06 10:41:43 +05:30
irqflags.h ARC: Add support for irqflags tracing and lockdep 2013-11-06 10:41:40 +05:30
Kbuild arch: Clean up asm/barrier.h implementations using asm-generic/barrier.h 2014-01-12 10:37:15 +01:00
kdebug.h
kgdb.h ARC: Remove explicit passing around of ECR 2013-06-26 15:30:50 +05:30
kprobes.h ARC: Remove explicit passing around of ECR 2013-06-26 15:30:50 +05:30
linkage.h
mach_desc.h arc: use common of_flat_dt_match_machine 2013-10-09 20:03:55 -05:00
mmu.h ARC: [SMP] ASID allocation 2013-11-06 10:41:45 +05:30
mmu_context.h ARC: [SMP] TLB flush 2013-11-06 10:41:45 +05:30
module.h
mutex.h
page.h ARC: [mm] Make stack/heap Non-executable by default 2013-06-22 19:23:20 +05:30
perf_event.h ARC: Add perf support for ARC700 cores 2013-11-12 09:45:38 +05:30
pgalloc.h arc: handle pgtable_page_ctor() fail 2013-11-15 09:32:16 +09:00
pgtable.h ARC: MMUv4 preps/2 - Reshuffle PTE bits 2013-08-30 10:19:12 +05:30
processor.h ARC: Remove explicit passing around of ECR 2013-06-26 15:30:50 +05:30
ptrace.h ARC: Code cosmetics (Nothing semantical) 2013-08-29 17:51:15 +05:30
sections.h ARC: SMP failed to boot due to missing IVT setup 2013-09-12 07:40:08 -07:00
segment.h
serial.h ARC: [TB10x] Add support for TB10x platform 2013-05-07 13:43:59 +05:30
setup.h arc: remove '__init' for setup_processor() and arc_init_IRQ() 2013-11-06 10:41:42 +05:30
shmparam.h ARC: [mm] Aliasing VIPT dcache support 4/4 2013-05-09 22:00:57 +05:30
smp.h arc: remove '__init' for first_lines_of_secondary() 2013-11-06 10:41:43 +05:30
spinlock.h ARC: Workaround spinlock livelock in SMP SystemC simulation 2013-09-27 16:28:48 +05:30
spinlock_types.h ARC: Code cosmetics (Nothing semantical) 2013-08-29 17:51:15 +05:30
string.h
switch_to.h
syscall.h ARC: stop using pt_regs->orig_r8 2013-06-22 19:23:26 +05:30
syscalls.h
thread_info.h preempt: Make PREEMPT_ACTIVE generic 2013-11-13 20:21:47 +01:00
timex.h
tlb-mmu1.h ARC: Disintegrate arcregs.h 2013-06-22 13:46:42 +05:30
tlb.h ARC: Disintegrate arcregs.h 2013-06-22 13:46:42 +05:30
tlbflush.h ARC: [SMP] TLB flush 2013-11-06 10:41:45 +05:30
uaccess.h ARC: Fix 32-bit wrap around in access_ok() 2013-09-27 16:28:47 +05:30
unaligned.h ARC: Reduce #ifdef'ery for unaligned access emulation 2013-11-06 10:41:39 +05:30
unwind.h