CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2010/09/06 13:05:48

Modified files:
        sys/arch/i386/eisa: eisa_machdep.c 
        sys/arch/i386/i386: bus_dma.c 
        sys/arch/i386/include: bus.h 
        sys/arch/i386/pci: pci_machdep.c 
        sys/arch/amd64/amd64: bus_dma.c 
        sys/arch/amd64/include: bus.h 
        sys/arch/amd64/pci: pci_machdep.c 

Log message:
Make sure bus_dmamap_sync() always involves a function call, to prevent the
compiler from doing stupid things like reordering stores around it.  There is
some debate whether this will be enough for newer versions of GCC and LLVM.
If this is indeed deemed necessary, this will be addressed in a future diff.

ok miod@, oga@

Reply via email to