PERFORCE change 72663 for review

John Baldwin jhb at FreeBSD.org
Mon Mar 7 13:51:43 PST 2005


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

Change 72663 by jhb at jhb_slimer on 2005/03/07 21:51:28

	Write barriers don't need a gcc barrier.

Affected files ...

.. //depot/projects/smpng/sys/i386/include/bus_at386.h#12 edit

Differences ...

==== //depot/projects/smpng/sys/i386/include/bus_at386.h#12 (text+ko) ====

@@ -1285,7 +1285,7 @@
 	if (flags & BUS_SPACE_BARRIER_READ)
 		__asm __volatile("lock; addl $0,0(%%esp)" : : : "memory");
 	else
-		__asm __volatile("" : : : "memory");
+		/* nothing */;
 #else
 # ifndef lint
 #  error "no assembler code for your compiler"


More information about the p4-projects mailing list