Subject: Re: nick-csl-alignment branch fallout
To: None <current-users@netbsd.org>
From: Sverre Froyen <sverre@viewmark.com>
List: current-users
Date: 09/11/2007 15:01:06
Juan RP <juan@xtrarom.org> wrote:
> after your nick-csl-alignment brnach merge, can't build an i386 UP
> -current kernel anymore... no idea why including machine/lock.h still
> shows the same warnings.
>
> /usr/src/sys/kern/kern_lock.c: In function 'simple_lock_init':
> /usr/src/sys/kern/kern_lock.c:1159: warning: implicit declaration of
> function '__cpu_simple_lock_clear'
>
> /usr/src/sys/kern/kern_lock.c: In function '_simple_lock':
> /usr/src/sys/kern/kern_lock.c:1199: warning: implicit
> declaration of function '__cpu_simple_lock_set'

I see this too.  It occurs when LOCKDEBUG is used.  The 
file /usr/src/sys/arch/x86/include/lock.h needs fixing.

Sverre