summaryrefslogtreecommitdiffstats
path: root/sys/mips/include/_bus.h
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2012-03-10 18:35:38 +0000
committerjmallett <jmallett@FreeBSD.org>2012-03-10 18:35:38 +0000
commit49831084fc545dca70c5b7d523832649aadfeb7c (patch)
treee8d69d3eff63d8f3267b839892996ea668831765 /sys/mips/include/_bus.h
parentde7ad4a179b444e5497c842c77c7559dc9fccc2c (diff)
downloadFreeBSD-src-49831084fc545dca70c5b7d523832649aadfeb7c.zip
FreeBSD-src-49831084fc545dca70c5b7d523832649aadfeb7c.tar.gz
Fix reversed logic in previous commit that broke build and earned me quite the
pointy hat. Submitted by: bz
Diffstat (limited to 'sys/mips/include/_bus.h')
-rw-r--r--sys/mips/include/_bus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/mips/include/_bus.h b/sys/mips/include/_bus.h
index 1527a18..1eaf6fa 100644
--- a/sys/mips/include/_bus.h
+++ b/sys/mips/include/_bus.h
@@ -36,9 +36,9 @@
*/
#include "opt_cputype.h"
#if defined(CPU_CNMIPS) && !defined(__mips_n64)
-typedef uintptr_t bus_addr_t;
-#else
typedef uint64_t bus_addr_t;
+#else
+typedef uintptr_t bus_addr_t;
#endif
typedef uintptr_t bus_size_t;
OpenPOWER on IntegriCloud