On 22-Feb-01 Maxim Sobolev wrote:
> John Baldwin wrote:
>> A recursive sched_lock?  Erm, well, stick these options in your kernel
>> config:
>> options         KTR
>> options         KTR_EXTEND
>> options         KTR_COMPILE=KTR_LOCK
>> options         KTR_MASK=KTR_MASK
> Bah, it even doesn't compile with these options:
> cc -c -pipe -O -march=pentium -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual
> -fformat-extensions -ansi  -nostdinc -I-  -I. -I../.. -I../../dev
> -I../../../include -I../../contrib/dev/acpica/Subsystem/Include  -D_KERNEL
> -include
> opt_global.h -elf  -mpreferred-stack-boundary=2  ../../kern/kern_ktr.c
> ../../kern/kern_ktr.c: In function `__Tunable_ktr_mask':
> ../../kern/kern_ktr.c:95: `KTR_MASK' undeclared (first use in this function)
> ../../kern/kern_ktr.c:95: (Each undeclared identifier is reported only once
> ../../kern/kern_ktr.c:95: for each function it appears in.)
> *** Error code 1
> 1 error

Oh, whoops, that should be:

options         KTR_MASK=KTR_LOCK

> -Maxim


John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to