Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147351826
D36020.id108998.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
451 B
Referenced Files
None
Subscribers
None
D36020.id108998.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/asm/barrier.h b/sys/compat/linuxkpi/common/include/asm/barrier.h
--- a/sys/compat/linuxkpi/common/include/asm/barrier.h
+++ b/sys/compat/linuxkpi/common/include/asm/barrier.h
@@ -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_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 11, 6:05 AM (2 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29516470
Default Alt Text
D36020.id108998.diff (451 B)
Attached To
Mode
D36020: linuxkpi: Add smp_mb__before/after_atomic
Attached
Detach File
Event Timeline
Log In to Comment