linuxkpi: Add smp_mb__before/after_atomic
Reviewed by: hselasky Obtained from: drm-kmod Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36020
This commit is contained in:
parent
d1c3cfd79d
commit
eca2f0f380
@ -55,4 +55,7 @@
|
||||
#define smp_store_mb(x, v) do { WRITE_ONCE(x, v); smp_mb(); } while (0)
|
||||
#endif
|
||||
|
||||
#define smp_mb__before_atomic() barrier()
|
||||
#define smp_mb__after_atomic() barrier()
|
||||
|
||||
#endif /* _LINUXKPI_ASM_BARRIER_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user