[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] Fix BUG in unlock_cpu_hotplug().



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1251618855 -3600
# Node ID f1a207ccb4934787a18e37458162232fd4ede6d1
# Parent  506133327116f2ebd6449714beee30727b20bc38
Fix BUG in unlock_cpu_hotplug().

Signed-off-by: Gautham R Shenoy <ego@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 kernel/cpu.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 506133327116 -r f1a207ccb493 kernel/cpu.c
--- a/kernel/cpu.c      Tue Aug 25 14:55:22 2009 +0100
+++ b/kernel/cpu.c      Sun Aug 30 08:54:15 2009 +0100
@@ -56,8 +56,8 @@ void unlock_cpu_hotplug(void)
                recursive_depth--;
                return;
        }
-       mutex_unlock(&cpu_bitmask_lock);
        recursive = NULL;
+       mutex_unlock(&cpu_bitmask_lock);
 }
 EXPORT_SYMBOL_GPL(unlock_cpu_hotplug);
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.