Skip to content

Commit

Permalink
[PATCH] x86_64: Fix hotplug problem in mce amd
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Jacob Shin authored and Linus Torvalds committed Jul 10, 2006
1 parent 3391c22 commit 0d2caeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/mce_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ static __cpuinit void threshold_remove_bank(unsigned int cpu, int bank)
/* sibling symlink */
if (shared_bank[bank] && b->blocks->cpu != cpu) {
sysfs_remove_link(&per_cpu(device_mce, cpu).kobj, name);
per_cpu(threshold_banks, i)[bank] = NULL;
per_cpu(threshold_banks, cpu)[bank] = NULL;
return;
}

Expand Down

0 comments on commit 0d2caeb

Please sign in to comment.