projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3391c22
)
[PATCH] x86_64: Fix hotplug problem in mce amd
author
Jacob Shin
<jacob.shin@amd.com>
Mon, 10 Jul 2006 15:06:09 +0000
(17:06 +0200)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 10 Jul 2006 22:12:32 +0000
(15:12 -0700)
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>
arch/x86_64/kernel/mce_amd.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86_64/kernel/mce_amd.c
b/arch/x86_64/kernel/mce_amd.c
index 335200aa27379a269d8cd3ac1661b351d8cff92e..db2acbf7ad288b4621a7e4bcb7f79d86d13eef43 100644
(file)
--- a/
arch/x86_64/kernel/mce_amd.c
+++ b/
arch/x86_64/kernel/mce_amd.c
@@
-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;
}