Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2011-08-14 14:06:35 +0200
committerThomas Renninger <trenn@suse.de>2011-08-14 14:06:35 +0200
commit690965465a6c61d812518712531e2a767460eef5 (patch)
treeab52b3d5fb37203597c8f1bc3b6e72d22c8243e7
parent4aecb2645017fcc9f216803e8cd1a4a3448fe267 (diff)
Properly destroy pmsr devices:
Refresh patches.xen/xen-x86-msr-on-pcpu. suse-commit: 934d81a098b3dc1c892e6f993957d5d2e8a39afe
-rw-r--r--arch/x86/kernel/msr-xen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/msr-xen.c b/arch/x86/kernel/msr-xen.c
index c6adfc2c60bc..2a8aeab8f4a7 100644
--- a/arch/x86/kernel/msr-xen.c
+++ b/arch/x86/kernel/msr-xen.c
@@ -328,7 +328,7 @@ static void __exit msr_exit(void)
unregister_pcpu_notifier(&pmsr_cpu_notifier);
for_each_set_bit(cpu, xen_cpu_online_map, nr_xen_cpu_ids)
- msr_device_destroy(cpu);
+ pmsr_device_destroy(cpu);
class_destroy(pmsr_class);
__unregister_chrdev(MSR_MAJOR, minor_bias,
MINORMASK + 1 - minor_bias, "pcpu/msr");