5042 stop using deprecated atomic functions
@@ -648,11 +648,11 @@ * boot we set up the initial call to ts_update() here. * Use an atomic compare-and-swap since that's easier and * faster than a mutex (but check with an ordinary load first * since most of the time this will already be done). */ - if (tspexists == 0 && cas32(&tspexists, 0, 1) == 0) + if (tspexists == 0 && atomic_cas_32(&tspexists, 0, 1) == 0) (void) timeout(ts_update, NULL, hz); return (0); }