Message ID | 502DFCB4.9050502@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/include/asm/barrier.h b/arch/arm/include/asm/barrier.h index 0511238..3ad4258 100644 --- a/arch/arm/include/asm/barrier.h +++ b/arch/arm/include/asm/barrier.h @@ -22,7 +22,11 @@ : : "r" (0) : "memory") #define dsb() __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \ : : "r" (0) : "memory") -#define dmb() __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \ +#define dmb() __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5\n" \ + "nop\n" \ + "nop\n" \ + "nop\n" \ + "nop\n" \ : : "r" (0) : "memory")