diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-03-11 19:12:37 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-06-25 03:30:17 +0300 |
commit | b8a033023994c4e59697bb3b16b441b38f258390 (patch) | |
tree | 2a5524af921d907162b1f476537117a02c02a127 /arch/arc/include/asm/Kbuild | |
parent | 470c27e4695add2a4e167467775081870d83185a (diff) | |
download | linux-b8a033023994c4e59697bb3b16b441b38f258390.tar.xz |
ARCv2: barriers
ARCv2 based HS38 cores are weakly ordered and thus explicit barriers for
kernel proper.
SMP barrier is provided by DMB instruction which also guarantees local
barrier hence used as backend of smp_*mb() as well as *mb() APIs
Also hookup barriers into MMIO accessors to avoid ordering issues in IO
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/Kbuild')
-rw-r--r-- | arch/arc/include/asm/Kbuild | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arc/include/asm/Kbuild b/arch/arc/include/asm/Kbuild index be0c39e76f7c..59e2dd1d434f 100644 --- a/arch/arc/include/asm/Kbuild +++ b/arch/arc/include/asm/Kbuild @@ -1,5 +1,4 @@ generic-y += auxvec.h -generic-y += barrier.h generic-y += bitsperlong.h generic-y += bugs.h generic-y += clkdev.h |