diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index a74ca32c7ca..bf00d56c713 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -1667,7 +1667,7 @@ uma_startup(void *bootmem, int boot_pages) bucket_init(); -#ifdef UMA_MD_SMALL_ALLOC +#if defined(UMA_MD_SMALL_ALLOC) && !defined(UMA_MD_SMALL_ALLOC_NEEDS_VM) booted = 1; #endif