From: Ingo Molnar Date: Tue, 24 Jul 2007 09:16:37 +0000 (+0200) Subject: pci/hotplug/cpqphp_ctrl.c: remove stale BKL use X-Git-Tag: v2.6.23-rc4~28^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=60ac8f20feb0bba8caee63be3e7ca5801fe16d4c;p=linux-2.6-omap-h63xx.git pci/hotplug/cpqphp_ctrl.c: remove stale BKL use remove stale BKL use from drivers/pci/hotplug/cpqphp_ctrl.c. Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/pci/hotplug/cpqphp_ctrl.c b/drivers/pci/hotplug/cpqphp_ctrl.c index 79ff6b4de3a..37d72f123a8 100644 --- a/drivers/pci/hotplug/cpqphp_ctrl.c +++ b/drivers/pci/hotplug/cpqphp_ctrl.c @@ -1746,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");