Subject: Re: LOCKDEBUG and xen?
To: None <tls@rek.tjls.com>
From: Christoph Egger <Christoph_Egger@gmx.de>
List: port-xen
Date: 09/12/2007 08:27:13
On Wednesday 12 September 2007 00:40:53 Thor Lancelot Simon wrote:
> Looks like Xen kernels can't build with LOCKDEBUG at present:
>
> /Volumes/workspaces/nbeq/nbsrc/sys/arch/xen/i386/pmap.c: In function
> 'pmap_enter_ma':
> /Volumes/workspaces/nbeq/nbsrc/sys/arch/xen/i386/pmap.c:3595: warning:
> passing argument 1 of '_simple_lock' from incompatible pointer type
> /Volumes/workspaces/nbeq/nbsrc/sys/arch/xen/i386/pmap.c:3597: warning:
> passing argument 1 of '_simple_unlock' from incompatible pointer type
> /Volumes/workspaces/nbeq/nbsrc/sys/arch/xen/i386/pmap.c:3675: warning:
> passing argument 1 of '_simple_unlock' from incompatible pointer type
> /Volumes/workspaces/nbeq/nbsrc/sys/arch/xen/i386/pmap.c:3678: warning:
> passing argument 1 of '_simple_unlock' from incompatible pointer type
> /Volumes/workspaces/nbeq/nbsrc/sys/arch/xen/i386/pmap.c:3689: warning:
> passing argument 1 of '_simple_lock' from incompatible pointer type
> /Volumes/workspaces/nbeq/nbsrc/sys/arch/xen/i386/pmap.c:3691: warning:
> passing argument 1 of '_simple_unlock' from incompatible pointer type
>
> Is this already widely known?
cvs log says:
revision 1.30
date: 2007/09/04 13:50:26; author: yamt; state: Exp; lines: +23 -23
compilation fixes. (simple_lock/unlock -> mutex_spin_enter/exit)
So update your pmap.c.