mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
Move CTASSERT from header file to source file, per implementation note now
in the CTASSERT man page.
This commit is contained in:
parent
d2035ffb7a
commit
a8a478fce6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183389
|
@ -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:
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue