2.3.99-pre6-5 failes to compile for me because of a missing include in
devices.c -- the function usb_device_poll() wants lock_kernel() and
unlock_kernel(), which is defined in linux/smp_lock.h

The attached patch fixes the problem.

Matt Dharm

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Senior Engineer, QCP Inc.                        Work: [EMAIL PROTECTED]

Oh BAY-bee.
                                        -- Dust Puppy to Greg
User Friendly, 12/13/1997
--- linux-2.3.99-pre6-5/drivers/usb/devices.c   Fri Apr 21 17:48:16 2000
+++ linux-2.3.99-pre6-5mdd/drivers/usb/devices.c        Fri Apr 21 18:14:23 2000
@@ -54,6 +54,7 @@
 #include <linux/slab.h>
 #include <linux/poll.h>
 #include <linux/usb.h>
+#include <linux/smp_lock.h>
 #include <linux/usbdevice_fs.h>
 #include <asm/uaccess.h>
 
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to