nvmm: Add volatile and memory barrier to clts inline ASM

Operating Systems / DragonFlyBSD - Aaron LI [aaronly.me] - 20 July 2021 23:28 UTC

The clts inline ASM should have a memory barrier. Also add 'volatile' to it. Now it fully matches the one in NetBSD FPU code.

e0cf4209f6 nvmm: Add volatile and memory barrier to clts inline ASM
sys/dev/virtual/nvmm/x86/nvmm_x86.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: gitweb.dragonflybsd.org


  • Share