]> err.no Git - linux-2.6/blobdiff - drivers/pci/hotplug/cpqphp_ctrl.c
pci/hotplug/cpqphp_ctrl.c: remove stale BKL use
[linux-2.6] / drivers / pci / hotplug / cpqphp_ctrl.c
index 3ec2ad7db49aa632f06f50155143271aef6ad60d..37d72f123a80f65d05c703446b7f353aa55d8844 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/wait.h>
 #include <linux/smp_lock.h>
 #include <linux/pci.h>
+#include <linux/pci_hotplug.h>
 #include "cpqphp.h"
 
 static u32 configure_new_device(struct controller* ctrl, struct pci_func *func,
@@ -1745,10 +1746,8 @@ static void pushbutton_helper_thread(unsigned long data)
 static int event_thread(void* data)
 {
        struct controller *ctrl;
-       lock_kernel();
+
        daemonize("phpd_event");
-       
-       unlock_kernel();
 
        while (1) {
                dbg("!!!!event_thread sleeping\n");