Current-Users archive

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

Re: -current XEN3_DOM0 fail



On Tue, Jan 08, 2008 at 05:27:03PM +0100, Manuel Bouyer wrote:
> Hi,
> in current building XEN3_DOM0 fails with:
> /dsk/l1/misc/bouyer/current/src/sys/arch/xen/xen/privcmd.c: In function 
> 'privpgop_reference':
> /dsk/l1/misc/bouyer/current/src/sys/arch/xen/xen/privcmd.c:279: error: 
> 'kmutex_t' has no member named 'lock_data'
> /dsk/l1/misc/bouyer/current/src/sys/arch/xen/xen/privcmd.c:281: error: 
> 'kmutex_t' has no member named 'lock_data'
> /dsk/l1/misc/bouyer/current/src/sys/arch/xen/xen/privcmd.c: In function 
> 'privpgop_detach':
> /dsk/l1/misc/bouyer/current/src/sys/arch/xen/xen/privcmd.c:288: error: 
> 'kmutex_t' has no member named 'lock_data'
> /dsk/l1/misc/bouyer/current/src/sys/arch/xen/xen/privcmd.c:291: error: 
> 'kmutex_t' has no member named 'lock_data'
> /dsk/l1/misc/bouyer/current/src/sys/arch/xen/xen/privcmd.c:294: error: 
> 'kmutex_t' has no member named 'lock_data'
> /dsk/l1/misc/bouyer/current/src/sys/arch/xen/xen/privcmd.c: In function 
> 'privcmd_map_obj':
> /dsk/l1/misc/bouyer/current/src/sys/arch/xen/xen/privcmd.c:380: error: 
> 'kmutex_t' has no member named 'lock_data'
> /dsk/l1/misc/bouyer/current/src/sys/arch/xen/xen/privcmd.c:384: error: 
> 'kmutex_t' has no member named 'lock_data'
> *** [privcmd.o] Error code 1
> 1 error
> 
> Anyone knows what should be used in place of simple_lock()/simple_unlock()
> here ?

I should have looked closer before rushing on the mailer, sorry.
It's obvious it's a mutex now, so it needs to use mutex_enter()/mutex_exit().

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index