From b5cd9ba03c2309de3b6b2eb7f8526d7c55a0e706 Mon Sep 17 00:00:00 2001 From: alc Date: Fri, 4 Jun 2004 04:03:26 +0000 Subject: Move the definitions of SWAPBLK_NONE and SWAPBLK_MASK from vm_page.h to blist.h, enabling the removal of numerous #includes from subr_blist.c. (subr_blist.c and swap_pager.c are the only users of these definitions.) --- sys/vm/vm_page.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sys/vm/vm_page.h') diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index b1b194a..4c2d211 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -146,14 +146,6 @@ CTASSERT(sizeof(u_long) >= 8); #endif #endif -/* - * note: currently use SWAPBLK_NONE as an absolute value rather then - * a flag bit. - */ - -#define SWAPBLK_MASK ((daddr_t)((u_daddr_t)-1 >> 1)) /* mask */ -#define SWAPBLK_NONE ((daddr_t)((u_daddr_t)SWAPBLK_MASK + 1))/* flag */ - #if !defined(KLD_MODULE) /* * Page coloring parameters -- cgit v1.1