Move CTASSERT from header file to source file, per implementation note now

in the CTASSERT man page.
This commit is contained in:
Ed Maste 2008-09-26 18:44:40 +00:00
parent d2035ffb7a
commit a8a478fce6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183389
2 changed files with 7 additions and 7 deletions

View file

@ -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:
*

View file

@ -150,13 +150,6 @@ struct vm_page {
#define VPO_SWAPINPROG 0x0200 /* swap I/O in progress on page */
#define VPO_NOSYNC 0x0400 /* do not collect for syncer */
/* 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
#define PQ_NONE 0
#define PQ_INACTIVE 1
#define PQ_ACTIVE 2