On Mon, Mar 20, 2000 at 09:22:24AM -0800, Dunlap, Randy wrote:
> This bothered me, so I've looked into it a little, and
> I'll give you my (unofficial) answer.
> 
> a.  The wait_queue_head_t in linux/include/linux/usb.h
> is only present in 2.2 kernel builds.  I.e., it's
> there for backport support.  You didn't say what
> kernel version you are building for, just that you
> "installed the kernel 2.3.99-pre2," which is a little
> ambiguous.  Anyway, in doing 2.3.xx builds, this
> isn't a problem, so you must be doing 2.2.zz builds
> via the backport patch, which also works because wait.h
> is different in 2.2, so... (b.)

The wait_queue_head_t in linux/include/linux/usb.h isn't present in the
2.2 backport - this stuff is moved to the kcomp.h file there.

So the only chance would be using the  2.3 kernel usb.h file for
compiling a userland program on a system with a 2.2 kernel or
something like that ...

> b.  What is your "[compiling an] unrelated program"?
> Is it a kernel driver or other kernel change?
> Is it a user-space program?  If user space, it
> shouldn't be including all of these kernel header
> files anyway.
> 
> So I don't think that there's a real problem here,
> IMO.

I don't, either.

-- 
Vojtech Pavlik
SuSE Labs

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to