svn commit: r200343 - projects/mips/sys/mips/include

Warner Losh imp at FreeBSD.org
Thu Dec 10 01:44:11 UTC 2009


Author: imp
Date: Thu Dec 10 01:44:11 2009
New Revision: 200343
URL: http://svn.freebsd.org/changeset/base/200343

Log:
  Get the sense of this right.  We use uintpr_t for bus_addr_t when
  we're building everything except octeon && 32-bit.  As note before, we
  need a clearner way, but at least now the hack is right.

Modified:
  projects/mips/sys/mips/include/_bus.h

Modified: projects/mips/sys/mips/include/_bus.h
==============================================================================
--- projects/mips/sys/mips/include/_bus.h	Thu Dec 10 01:42:44 2009	(r200342)
+++ projects/mips/sys/mips/include/_bus.h	Thu Dec 10 01:44:11 2009	(r200343)
@@ -35,7 +35,7 @@
  * Bus address and size types
  */
 #include "opt_cputype.h" 
-#if !(defined(TARGET_OCTEON) || defined(ISA_MIPS32))
+#if !(defined(TARGET_OCTEON) && defined(ISA_MIPS32))
 typedef uintptr_t bus_addr_t;
 #else
 typedef uint64_t bus_addr_t;


More information about the svn-src-projects mailing list