Use a proper compiler barrier; just having the inline asm for the "sync" instruction depend on ci->ci_cpl makes the compiler generate strange code and might not be enough to stop the compiler moving instructions around.
Use a proper compiler barrier; just having the inline asm for the "sync"
instruction depend on ci->ci_cpl makes the compiler generate strange code
and might not be enough to stop the compiler moving instructions around.

ok jsing@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars