svn commit: r262374 - projects/clang-sparc64/sys/kern
Dimitry Andric
dim at FreeBSD.org
Sun Feb 23 17:37:24 UTC 2014
Author: dim
Date: Sun Feb 23 17:37:24 2014
New Revision: 262374
URL: http://svnweb.freebsd.org/changeset/base/262374
Log:
On sparc64, VM_KMEM_SIZE_SCALE is not a constant expression, so it
cannot be tested in a CTASSERT().
Modified:
projects/clang-sparc64/sys/kern/kern_malloc.c
Modified: projects/clang-sparc64/sys/kern/kern_malloc.c
==============================================================================
--- projects/clang-sparc64/sys/kern/kern_malloc.c Sun Feb 23 17:25:53 2014 (r262373)
+++ projects/clang-sparc64/sys/kern/kern_malloc.c Sun Feb 23 17:37:24 2014 (r262374)
@@ -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.
More information about the svn-src-projects
mailing list