From a173e0f84d9dd9d48f9b844cfaa7481406bce97d Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 26 Sep 2008 18:44:40 +0000 Subject: Move CTASSERT from header file to source file, per implementation note now in the CTASSERT man page. --- sys/vm/vm_page.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/vm/vm_page.c') 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: * -- cgit v1.1