Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 12:06:32 -0800 (PST)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 27375 for review
Message-ID:  <200303252006.h2PK6W80094167@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=27375

Change 27375 by jmallett@jmallett_dalek on 2003/03/25 12:06:04

	Use the appropriate type for pages and the like.

Affected files ...

.. //depot/projects/mips/sys/mips/include/param.h#9 edit

Differences ...

==== //depot/projects/mips/sys/mips/include/param.h#9 (text+ko) ====

@@ -111,7 +111,7 @@
 /*
  * Mach derived conversion macros
  */
-#define round_page(x)	((((unsigned)(x)) + NBPG - 1) & ~(NBPG-1))
-#define trunc_page(x)	((unsigned)(x) & ~(NBPG-1))
-#define btop(x)		((unsigned)(x) >> PGSHIFT)
-#define ptob(x)		((unsigned)(x) << PGSHIFT)
+#define round_page(x)	((((unsigned long)(x)) + NBPG - 1) & ~(NBPG-1))
+#define trunc_page(x)	((unsigned long)(x) & ~(NBPG-1))
+#define btop(x)		((unsigned long)(x) >> PGSHIFT)
+#define ptob(x)		((unsigned long)(x) << PGSHIFT)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303252006.h2PK6W80094167>