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: MMI-PSA29.97-13-9~40662^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=60ac8f20feb0bba8caee63be3e7ca5801fe16d4c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 79ff6b4de3a6..37d72f123a80 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");