mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-24 18:38:38 +00:00
a904f5f9eb
Since mandatory barriers may be used (explicitly or implicitly via readl etc.) to ensure the ordering between Device and Normal memory accesses, a DMB is not enough. This patch converts it to a DSB. Cc: Colin Cross <ccross@android.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
9 lines
248 B
C
9 lines
248 B
C
/*
|
|
* Barriers redefined for RealView ARM11MPCore platforms with L220 cache
|
|
* controller to work around hardware errata causing the outer_sync()
|
|
* operation to deadlock the system.
|
|
*/
|
|
#define mb() dsb()
|
|
#define rmb() dsb()
|
|
#define wmb() mb()
|