diff options
Diffstat (limited to 'arch/arm/include/asm/barrier.h')
-rw-r--r-- | arch/arm/include/asm/barrier.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/barrier.h b/arch/arm/include/asm/barrier.h index 2f59f7443396..c6a3e73a6e24 100644 --- a/arch/arm/include/asm/barrier.h +++ b/arch/arm/include/asm/barrier.h | |||
@@ -79,5 +79,8 @@ do { \ | |||
79 | 79 | ||
80 | #define set_mb(var, value) do { var = value; smp_mb(); } while (0) | 80 | #define set_mb(var, value) do { var = value; smp_mb(); } while (0) |
81 | 81 | ||
82 | #define smp_mb__before_atomic() smp_mb() | ||
83 | #define smp_mb__after_atomic() smp_mb() | ||
84 | |||
82 | #endif /* !__ASSEMBLY__ */ | 85 | #endif /* !__ASSEMBLY__ */ |
83 | #endif /* __ASM_BARRIER_H */ | 86 | #endif /* __ASM_BARRIER_H */ |