Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/external/bsd/bind/include/isc



On Mon, Apr 13, 2009 at 08:22:27PM +0000, Christos Zoulas wrote:

> In article <20090413195657.GE28237%hairylemon.org@localhost>,
> Andrew Doran  <ad%netbsd.org@localhost> wrote:
> >On Sun, Apr 12, 2009 at 06:40:56PM -0400, Christos Zoulas wrote:
> >
> >> Modified Files:
> >>    src/external/bsd/bind/include/isc: platform.h
> >> 
> >> Log Message:
> >> auto-define if we have 64 bit atomic ops.
> >
> >- It's __HAVE_ATOMIC64_OPS, not __HAVE_ATOMIC64_OP.
> 
> thanks
> 
> >- It's not true for the i486 in userspcae.
> 
> So what is one supposed to do for the i486?

Like the below maybe? I don't have time to compile test it right now.
I'll put it on my list if you don't get to it.

Index: types.h
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/include/types.h,v
retrieving revision 1.64
diff -u -r1.64 types.h
--- types.h     5 Apr 2009 00:57:56 -0000       1.64
+++ types.h     13 Apr 2009 20:25:07 -0000
@@ -81,11 +81,11 @@
 #define        __HAVE_SYSCALL_INTERN
 #define        __HAVE_MINIMAL_EMUL
 #define        __HAVE_OLD_DISKLABEL
-#define        __HAVE_ATOMIC64_OPS
 #define        __HAVE_ATOMIC_AS_MEMBAR
 #define        __HAVE_CPU_LWP_SETPRIVATE
 
 #if defined(_KERNEL)
+#define        __HAVE_ATOMIC64_OPS             /* not true for i486 in 
userspace */
 #define        __HAVE_RAS
 #endif
 


Home | Main Index | Thread Index | Old Index