Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 11:38:09 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 42564 for review
Message-ID:  <200311161938.hAGJc9ui008674@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=42564

Change 42564 by peter@peter_overcee on 2003/11/16 11:37:27

	DOH!!!!  this might help.

Affected files ...

.. //depot/projects/hammer/sys/amd64/include/atomic.h#6 edit

Differences ...

==== //depot/projects/hammer/sys/amd64/include/atomic.h#6 (text+ko) ====

@@ -82,7 +82,7 @@
  * For userland, assume the SMP case and use lock prefixes so that
  * the binaries will run on both types of systems.
  */
-#if !defined(_KERNEL)
+#if defined(SMP) || !defined(_KERNEL)
 #define MPLOCKED	lock ;
 #else
 #define MPLOCKED



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