On sparc64, VM_KMEM_SIZE_SCALE is not a constant expression, so it

cannot be tested in a CTASSERT().
This commit is contained in:
Dimitry Andric 2014-02-23 17:37:24 +00:00
parent 90ce288afe
commit f9d498ad60

View File

@ -683,7 +683,9 @@ kmem_reclaim(vmem_t *vm, int flags)
pagedaemon_wakeup();
}
#ifndef __sparc64__
CTASSERT(VM_KMEM_SIZE_SCALE >= 1);
#endif
/*
* Initialize the kernel memory (kmem) arena.