PERFORCE change 42564 for review

Peter Wemm peter at FreeBSD.org
Sun Nov 16 11:38:10 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=42564

Change 42564 by peter at 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


More information about the p4-projects mailing list