Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 09/07/2006 18:41:28
Module Name:	src
Committed By:	mrg
Date:		Thu Sep  7 18:41:28 UTC 2006

Modified Files:
	src/sys/conf: Makefile.kern.inc
	src/sys/kern: kern_synch.c

Log Message:
make the bpendtsleep: label only active if KERN_SYNCH_BPENDTSLEEP_LABEL
is defined.  if this option is present in the Makefile CFLAGS and we are
using GCC4, build kern_synch.c with -fno-reorder-blocks, so that this
actually works.

XXX be nice if KERN_SYNCH_BPENDTSLEEP_LABEL was a normal 'defflag' option
XXX but for now take the easy way out and make it checkable in CFLAGS.


To generate a diff of this commit:
cvs rdiff -r1.84 -r1.85 src/sys/conf/Makefile.kern.inc
cvs rdiff -r1.166 -r1.167 src/sys/kern/kern_synch.c

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