mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-13 16:40:22 +00:00
4eb14db444
Disintegrate asm/system.h for Score. Not compiled. Signed-off-by: David Howells <dhowells@redhat.com> cc: Chen Liqin <liqin.chen@sunplusct.com>
17 lines
417 B
C
17 lines
417 B
C
#ifndef _ASM_SCORE_BARRIER_H
|
|
#define _ASM_SCORE_BARRIER_H
|
|
|
|
#define mb() barrier()
|
|
#define rmb() barrier()
|
|
#define wmb() barrier()
|
|
#define smp_mb() barrier()
|
|
#define smp_rmb() barrier()
|
|
#define smp_wmb() barrier()
|
|
|
|
#define read_barrier_depends() do {} while (0)
|
|
#define smp_read_barrier_depends() do {} while (0)
|
|
|
|
#define set_mb(var, value) do {var = value; wmb(); } while (0)
|
|
|
|
#endif /* _ASM_SCORE_BARRIER_H */
|