summaryrefslogtreecommitdiffstats
path: root/sys/mips/include/_bus.h
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2012-03-10 07:54:41 +0000
committerjmallett <jmallett@FreeBSD.org>2012-03-10 07:54:41 +0000
commitd4047c836d39ac13721c5c20a76f86fbc22d5b11 (patch)
treef006a69d6d74fe02b2d3378fc5eb41bd794c8a44 /sys/mips/include/_bus.h
parentd580a08b02f1f15e91b43026ae6cc7e974b025d7 (diff)
downloadFreeBSD-src-d4047c836d39ac13721c5c20a76f86fbc22d5b11.zip
FreeBSD-src-d4047c836d39ac13721c5c20a76f86fbc22d5b11.tar.gz
Use ABI to determine bus_addr_t for cnMIPS.
Diffstat (limited to 'sys/mips/include/_bus.h')
-rw-r--r--sys/mips/include/_bus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/include/_bus.h b/sys/mips/include/_bus.h
index fd4b62f..1527a18 100644
--- a/sys/mips/include/_bus.h
+++ b/sys/mips/include/_bus.h
@@ -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;
OpenPOWER on IntegriCloud