diff options
author | emaste <emaste@FreeBSD.org> | 2008-09-26 18:44:40 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2008-09-26 18:44:40 +0000 |
commit | a173e0f84d9dd9d48f9b844cfaa7481406bce97d (patch) | |
tree | 607928206514188a966c2afdff4ae8f557be3a4a /sys/vm/vm_page.c | |
parent | ba942d55439c34784ef1028eca969353647a270b (diff) | |
download | FreeBSD-src-a173e0f84d9dd9d48f9b844cfaa7481406bce97d.zip FreeBSD-src-a173e0f84d9dd9d48f9b844cfaa7481406bce97d.tar.gz |
Move CTASSERT from header file to source file, per implementation note now
in the CTASSERT man page.
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r-- | sys/vm/vm_page.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index c947d16..a7a62f1 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -149,6 +149,13 @@ SYSCTL_INT(_vm, OID_AUTO, boot_pages, CTLFLAG_RD, &boot_pages, 0, static void vm_page_enqueue(int queue, vm_page_t m); +/* Make sure that u_long is at least 64 bits when PAGE_SIZE is 32K. */ +#if PAGE_SIZE == 32768 +#ifdef CTASSERT +CTASSERT(sizeof(u_long) >= 8); +#endif +#endif + /* * vm_set_page_size: * |