freebsd-skq/sys/sparc64
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
..
central
compile
conf
ebus
fhc
include Add an unified macro to deny ability from the compiler to reorder 2012-10-09 14:32:30 +00:00
isa
pci
sbus
sparc64 Reverts r234074,234105,234564,234723,234989,235231-235232 and part of 2012-10-09 12:22:43 +00:00