Author: gonzo
Date: Tue Dec  6 00:13:40 2011
New Revision: 228296
URL: http://svn.freebsd.org/changeset/base/228296

Log:
    Unbreak mips64 build by MFCing r202031 that fixes _ALIGN macros

Modified:
  stable/8/sys/mips/include/param.h

Modified: stable/8/sys/mips/include/param.h
==============================================================================
--- stable/8/sys/mips/include/param.h   Tue Dec  6 00:05:12 2011        
(r228295)
+++ stable/8/sys/mips/include/param.h   Tue Dec  6 00:13:40 2011        
(r228296)
@@ -77,11 +77,11 @@
 
 /*
  * Round p (pointer or byte index) up to a correctly-aligned value for all
- * data types (int, long, ...).          The result is u_int and must be cast 
to
+ * data types (int, long, ...).          The result is u_long and must be cast 
to
  * any desired pointer type.
  */
 #define        _ALIGNBYTES     7
-#define        _ALIGN(p)       (((u_int)(p) + _ALIGNBYTES) &~ _ALIGNBYTES)
+#define        _ALIGN(p)       (((u_long)(p) + _ALIGNBYTES) &~ _ALIGNBYTES)
 
 #define        ALIGNBYTES      _ALIGNBYTES
 #define        ALIGN(p)        _ALIGN(p)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to