Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [sommerfeld_i386mp_1] syssrc/sys/arch/i386/include



Module Name:    syssrc
Committed By:   sommerfeld
Date:           Tue Dec 18 02:49:13 UTC 2001

Modified Files:
        syssrc/sys/arch/i386/include [sommerfeld_i386mp_1]: intr.h

Log Message:
Recent versions of gcc may reorder instructions around inline
functions, breaking the semantics of splraise() and spllower(); to
counteract this, insert a "barrier" (empty asm) as a sequence point.

Reportedly fixes a stability problems on AMD dual-processor systems.

the code-gen barrier primitive will likely move to <sys/cdefs.h> once
we figure out what to call it; in the mean time define it locally.


To generate a diff of this commit:
cvs rdiff -r1.12.10.16 -r1.12.10.17 syssrc/sys/arch/i386/include/intr.h

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




Home | Main Index | Thread Index | Old Index