Source-Changes archive

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

Re: CVS commit: src/regress/sys/kern/ras




On Jan 7, 2004, at 3:21 AM, Steve Woodford wrote:

I've been meaning to commit just such a macro <sys/cdefs.h> to fix a
similar issue elsewhere. Something along the lines of:

#define __reorder_barrier()     __asm __volatile("":::"memory")

If there are no objections, I'll go ahead and do this.

Since it prevents instruction reordering, I guess __insn_barrier() is better. Provide a means for <machine/cdefs.h> to override it, so SPARC can continue using it's no-memory-clobber version.

        -- Jason R. Thorpe <thorpej%wasabisystems.com@localhost>

Attachment: PGP.sig
Description: This is a digitally signed message part



Home | Main Index | Thread Index | Old Index