arm64: barriers: add dmb barrier
authorWill Deacon <will.deacon@arm.com>
Mon, 10 Mar 2014 10:36:52 +0000 (10:36 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 10 Mar 2014 11:57:40 +0000 (11:57 +0000)
commitd152d22a18c240286c19997a6249ee76ea055926
tree8f2c88c264c7031e139c2016e7edd6e7bd1a2d0f
parentf6e763b93a6cd3411fd8df925344022719bcba62
arm64: barriers: add dmb barrier

Commit 8adbf57fc429 ("irqchip: gic: use dmb ishst instead of dsb when
raising a softirq") added an explicit dmb(...) call to the GIC driver.

This patch adds a simple dmb() macro to arm64, which expands to a DMB SY
instruction.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/barrier.h