Assert that u_long is at least 64 bits if PAGE_SIZE is 32K.

Suggested by: phk
This commit is contained in:
marcel 2003-08-25 19:58:01 +00:00
parent dcae809e0d
commit 78b7eaa56b

View File

@ -143,6 +143,13 @@ struct vm_page {
u_int cow; /* page cow mapping count */
};
/* 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
/*
* note: currently use SWAPBLK_NONE as an absolute value rather then
* a flag bit.