freebsd-nq/sys/gnu
Attilio Rao 3a4730256a Add an unified macro to deny ability from the compiler to reorder
instruction loads/stores at its will.
The macro __compiler_membar() is currently supported for both gcc and
clang, but kernel compilation will fail otherwise.

Reviewed by:	bde, kib
Discussed with:	dim, theraven
MFC after:	2 weeks
2012-10-09 14:32:30 +00:00
..
fs Add an unified macro to deny ability from the compiler to reorder 2012-10-09 14:32:30 +00:00