mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
On sparc64, VM_KMEM_SIZE_SCALE is not a constant expression, so it
cannot be tested in a CTASSERT().
This commit is contained in:
parent
90ce288afe
commit
f9d498ad60
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/clang-sparc64/; revision=262374
@ -683,7 +683,9 @@ kmem_reclaim(vmem_t *vm, int flags)
|
|||||||
pagedaemon_wakeup();
|
pagedaemon_wakeup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __sparc64__
|
||||||
CTASSERT(VM_KMEM_SIZE_SCALE >= 1);
|
CTASSERT(VM_KMEM_SIZE_SCALE >= 1);
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize the kernel memory (kmem) arena.
|
* Initialize the kernel memory (kmem) arena.
|
||||||
|
Loading…
Reference in New Issue
Block a user