Commit 49846fc8 authored by Miles Bader's avatar Miles Bader Committed by Linus Torvalds

[PATCH] Define smp_read_barrier_depends on v850

parent d353084e
...@@ -76,10 +76,12 @@ static inline int irqs_disabled (void) ...@@ -76,10 +76,12 @@ static inline int irqs_disabled (void)
#define smp_mb() mb () #define smp_mb() mb ()
#define smp_rmb() rmb () #define smp_rmb() rmb ()
#define smp_wmb() wmb () #define smp_wmb() wmb ()
#define smp_read_barrier_depends() read_barrier_depends()
#else #else
#define smp_mb() barrier () #define smp_mb() barrier ()
#define smp_rmb() barrier () #define smp_rmb() barrier ()
#define smp_wmb() barrier () #define smp_wmb() barrier ()
#define smp_read_barrier_depends() ((void)0)
#endif #endif
#define xchg(ptr, with) \ #define xchg(ptr, with) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment