Date: Thu, 10 Dec 2009 01:44:11 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r200343 - projects/mips/sys/mips/include Message-ID: <200912100144.nBA1iB15047010@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912100144.nBA1iB15047010>