From: Keir Fraser Date: Sun, 30 Aug 2009 07:54:15 +0000 (+0100) Subject: Fix BUG in unlock_cpu_hotplug(). X-Git-Tag: xen-3.4.2~10 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1b357e48e7be9128e3efc17ad2fed1a9d3750ee0;p=legacy%2Flinux-2.6.18-xen.git Fix BUG in unlock_cpu_hotplug(). Signed-off-by: Gautham R Shenoy Signed-off-by: Keir Fraser --- diff --git a/kernel/cpu.c b/kernel/cpu.c index ea06709d..e60a181c 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -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);