lkml.org 
[lkml]   [2009]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: Tree for July 13 (staging/usbip)
On Mon, 13 Jul 2009 09:34:43 -0700 Randy Dunlap wrote:

> On Mon, 13 Jul 2009 09:25:11 -0700 Greg KH wrote:
>
> > On Mon, Jul 13, 2009 at 08:59:15AM -0700, Randy Dunlap wrote:
> > > On Mon, 13 Jul 2009 18:05:24 +1000 Stephen Rothwell wrote:
> > >
> > > > Hi all,
> > > >
> > > > Changes since 20090710:
> > >
> > >
> > > drivers/staging/usbip/usbip_common.c: In function 'usbip_thread':
> > > drivers/staging/usbip/usbip_common.c:386: error: implicit declaration of function 'lock_kernel'
> > > drivers/staging/usbip/usbip_common.c:390: error: implicit declaration of function 'unlock_kernel'
> > >
> > > config attached.
> >
> > Odd, that code has not changed at all.
> >
> > Did we just loose the big kernel lock somehow?
>
> I dunno. Probably some header file cleanup thing. :(
>
> Looks like only linux/smp_lock.h #defines it, but a driver shouldn't
> need to #include that file IMHO.

Adding
#include <linux/smp_lock.h>
does fix the build error, but I don't like it.

---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/


\
 
 \ /
  Last update: 2009-07-13 19:05    [W:0.226 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site