From 1d5f38ac2264102518a09c66a7b285f57e81e67e Mon Sep 17 00:00:00 2001 From: dfr Date: Sun, 7 Jun 1998 17:13:14 +0000 Subject: This commit fixes various 64bit portability problems required for FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time. --- sys/vm/vm_page.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/vm/vm_page.c') diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index d07ce44..72661f6 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91 - * $Id: vm_page.c,v 1.99 1998/05/02 03:02:13 peter Exp $ + * $Id: vm_page.c,v 1.100 1998/06/02 05:50:08 dyson Exp $ */ /* @@ -359,7 +359,7 @@ vm_page_hash(object, pindex) vm_object_t object; vm_pindex_t pindex; { - return ((((unsigned) object) >> 5) + (pindex >> 1)) & vm_page_hash_mask; + return ((((unsigned long) object) >> 5) + (pindex >> 1)) & vm_page_hash_mask; } /* -- cgit v1.1