aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/device_pager.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-05-03 21:01:54 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-05-03 21:01:54 +0000
commitaa8de40ae504c80301d07b7a4cfa74359792cc72 (patch)
tree6e409b4bdf1f55b895a65877ef5486cfc5442060 /sys/vm/device_pager.c
parent5903c0ce22d13bfb277060bddfa1bb7f69243499 (diff)
downloadsrc-aa8de40ae504c80301d07b7a4cfa74359792cc72.tar.gz
src-aa8de40ae504c80301d07b7a4cfa74359792cc72.zip
Another sweep over the pmap/vm macros, this time with more focus on
the usage. I'm not satisfied with the naming, but now at least there is less bogus stuff around.
Notes
Notes: svn path=/head/; revision=15583
Diffstat (limited to 'sys/vm/device_pager.c')
-rw-r--r--sys/vm/device_pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/device_pager.c b/sys/vm/device_pager.c
index eb2c9dd8550b..8b1ddf2ab642 100644
--- a/sys/vm/device_pager.c
+++ b/sys/vm/device_pager.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)device_pager.c 8.1 (Berkeley) 6/11/93
- * $Id: device_pager.c,v 1.20 1996/01/19 03:59:38 dyson Exp $
+ * $Id: device_pager.c,v 1.21 1996/03/09 06:54:41 dyson Exp $
*/
#include <sys/param.h>
@@ -119,7 +119,7 @@ dev_pager_alloc(handle, size, prot, foff)
/*
* Offset should be page aligned.
*/
- if (foff & (PAGE_SIZE - 1))
+ if (foff & PAGE_MASK)
return (NULL);
/*