svn commit: r232773 - head/sys/mips/include
Juli Mallett
jmallett at FreeBSD.org
Sat Mar 10 07:54:42 UTC 2012
Author: jmallett
Date: Sat Mar 10 07:54:41 2012
New Revision: 232773
URL: http://svn.freebsd.org/changeset/base/232773
Log:
Use ABI to determine bus_addr_t for cnMIPS.
Modified:
head/sys/mips/include/_bus.h
Modified: head/sys/mips/include/_bus.h
==============================================================================
--- head/sys/mips/include/_bus.h Sat Mar 10 07:09:05 2012 (r232772)
+++ head/sys/mips/include/_bus.h Sat Mar 10 07:54:41 2012 (r232773)
@@ -35,7 +35,7 @@
* Bus address and size types
*/
#include "opt_cputype.h"
-#if !(defined(CPU_CNMIPS) && defined(ISA_MIPS32))
+#if defined(CPU_CNMIPS) && !defined(__mips_n64)
typedef uintptr_t bus_addr_t;
#else
typedef uint64_t bus_addr_t;
More information about the svn-src-all
mailing list