[PATCH] x86_64: Fix hotplug problem in mce amd
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>
This commit is contained in:
parent
3391c22e5b
commit
0d2caebd56
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ static __cpuinit void threshold_remove_bank(unsigned int cpu, int bank)
|
||||||
/* sibling symlink */
|
/* sibling symlink */
|
||||||
if (shared_bank[bank] && b->blocks->cpu != cpu) {
|
if (shared_bank[bank] && b->blocks->cpu != cpu) {
|
||||||
sysfs_remove_link(&per_cpu(device_mce, cpu).kobj, name);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue