Module Name:    src
Committed By:   ad
Date:           Sun Jun 28 09:24:09 UTC 2009

Modified Files:
        src/sys/arch/i386/include: types.h

Log Message:
Define __HAVE_ATOMIC64_OPS only in kernel, since it doesn't work in
userspace on the i486.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/i386/include/types.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/include/types.h
diff -u src/sys/arch/i386/include/types.h:1.65 src/sys/arch/i386/include/types.h:1.66
--- src/sys/arch/i386/include/types.h:1.65	Sun Apr 19 14:11:37 2009
+++ src/sys/arch/i386/include/types.h	Sun Jun 28 09:24:09 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: types.h,v 1.65 2009/04/19 14:11:37 ad Exp $	*/
+/*	$NetBSD: types.h,v 1.66 2009/06/28 09:24:09 ad Exp $	*/
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -81,12 +81,12 @@
 #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
 #define	__HAVE_INTR_CONTROL
 
 #if defined(_KERNEL)
+#define	__HAVE_ATOMIC64_OPS		/* not true for i486 in userspace */
 #define	__HAVE_RAS
 #endif
 

Reply via email to