5042 stop using deprecated atomic functions
@@ -3164,11 +3164,11 @@ kmem_reap_common(void *flag_arg) { uint32_t *flag = (uint32_t *)flag_arg; if (MUTEX_HELD(&kmem_cache_lock) || kmem_taskq == NULL || - cas32(flag, 0, 1) != 0) + atomic_cas_32(flag, 0, 1) != 0) return; /* * It may not be kosher to do memory allocation when a reap is called * is called (for example, if vmem_populate() is in the call chain).