Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2012 07:54:42 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232773 - head/sys/mips/include
Message-ID:  <201203100754.q2A7sgHC046244@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203100754.q2A7sgHC046244>