mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08: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 */
|