]> xenbits.xensource.com Git - people/royger/linux-2.6.18-xen.git/commitdiff
Fix BUG in unlock_cpu_hotplug().
authorKeir Fraser <keir.fraser@citrix.com>
Sun, 30 Aug 2009 07:54:15 +0000 (08:54 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Sun, 30 Aug 2009 07:54:15 +0000 (08:54 +0100)
Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
kernel/cpu.c

index ea06709d7b74279087214cf8d85b2ed70969b3e8..e60a181cbf84a0054bc6a717e45595fa88533f2e 100644 (file)
@@ -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);