Skip to contentSkip to conversation

: cpu hotplug locking fix

PATCH Andrew Morton 1 participant 1 message Dec 6, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

kernel/cpu.c void unlock_cpu_hotplug(void) · line 63

Quoted 10 lines · On Wed, 6 Dec 2006 11:04:29 -0500 Prarit Bhargava <[email protected]> wrote:
kernel/cpu.c renamed from kernel/cpu.c.orig +1 -1
@@ -58,8 +58,8 @@ void unlock_cpu_hotplug(void)
 		recursive_depth--;
 		return;
 	}
-	mutex_unlock(&cpu_bitmask_lock);
 	recursive = NULL;
+	mutex_unlock(&cpu_bitmask_lock);
 }

That's already in 2.6.19.