Date: Wed, 18 May 2016 10:11:01 -0700 From: Juli Mallett <juli@clockworksquid.com> To: Justin Hibbits <chmeeedalf@gmail.com> Cc: Scott Long <scott4long@yahoo.com>, Warner Losh <imp@bsdimp.com>, Scott Long <scottl@freebsd.org>, src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r300154 - head/sys/net Message-ID: <CACVs6=9Nh8kKdhu37k=sBF7oCKpBY3uk95WA9XioW1yzoxp%2B8Q@mail.gmail.com> In-Reply-To: <20160518114134.7a32e69e@zhabar.knownspace> References: <201605181545.u4IFjCKD030751@repo.freebsd.org> <20160518105033.1eae7432@zhabar.knownspace> <CANCZdfpn=SpmQi-ZWZphQjAn3s_g=hmuSbUkO4uGTA1q_vWwSg@mail.gmail.com> <7EC6D845-E9EE-4D9E-988B-D433526BAAB1@yahoo.com> <20160518114134.7a32e69e@zhabar.knownspace>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 18, 2016 at 9:41 AM, Justin Hibbits <chmeeedalf@gmail.com> wrote: > #if (defined(__powerpc__) && !defined(__powerpc64__)) || > (defined(__mips__) && !defined(__mips64__)) > > should work. Depending on what the point of this is on MIPS, it is probably also inadequate. I believe you want a MIPS ABI check, as we can support 64-bit atomics with n32 and n64 ABIs, so !defined(__mips_n32) && !defined(__mips_n64).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACVs6=9Nh8kKdhu37k=sBF7oCKpBY3uk95WA9XioW1yzoxp%2B8Q>