]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
irqchip/bcm2836: Use a more generic memory barrier call
authorEric Anholt <eric@anholt.net>
Wed, 13 Apr 2016 20:28:43 +0000 (13:28 -0700)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 11 May 2016 09:13:00 +0000 (10:13 +0100)
commita1dcbd11d09be1cb357b2f217c0eaa1461128da0
tree8246d163344fbe26dca0691602ceeff2d6503733
parentcb290d827eb0378447095093b4ea712482d31ae8
irqchip/bcm2836: Use a more generic memory barrier call

dsb() requires an argument on arm64, so we needed to add "sy".
Instead, take this opportunity to switch to the same smp_wmb() call
that gic uses for its IPIs.  This is a less strong barrier than we
were doing before (dmb(ishst) compared to dsb(sy)), but it seems to be
the correct one.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-bcm2836.c