Subject: linux-next: user mode linux build failure (2)

From: Richard Weinberger <[email-masked]>
Date: Tue, 19 Oct 2010 02:00:01 +0200

Hi!

1e3d8715 (uml: kill big kernel lock) breaks um build.

arch/um/drivers/ubd_kern.c: In function 'ubd_open':
arch/um/drivers/ubd_kern.c:1104: error: 'ubd_mutex' undeclared (first use in 
this function)
arch/um/drivers/ubd_kern.c:1104: error: (Each undeclared identifier is 
reported only once
arch/um/drivers/ubd_kern.c:1104: error: for each function it appears in.)
arch/um/drivers/ubd_kern.c: In function 'ubd_release':
arch/um/drivers/ubd_kern.c:1131: error: 'ubd_mutex' undeclared (first use in 
this function)
make[1]: *** [arch/um/drivers/ubd_kern.o] Error 1
make: *** [arch/um/drivers] Error 2

It seems you forgot to define ubd_mutex in ubd_kern.c.

Thanks,
//richard