projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
973ce7b
)
cpufreq: fix notifier block double registration
author
Dario Faggioli
<dario.faggioli@citrix.com>
Mon, 12 Oct 2015 15:22:02 +0000
(17:22 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 12 Oct 2015 15:22:02 +0000
(17:22 +0200)
As a consequence of commit
49388f11d512bb92706ce
("x86/cpufreq: relocate the driver register function")
the cpufreq CPU notifier was being registered twice.
That resulted in bugs when trying to offline a
CPU, as reported here:
https://www.mail-archive.com/xen-devel@lists.xen.org/msg41618.html
Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
xen/drivers/cpufreq/cpufreq.c
patch
|
blob
|
history
diff --git
a/xen/drivers/cpufreq/cpufreq.c
b/xen/drivers/cpufreq/cpufreq.c
index 81a187ba59e99cd6384c024b7861fabc27fdb6c5..6e666e415d94ac4c6f7418de0507a23b6e03d0a3 100644
(file)
--- a/
xen/drivers/cpufreq/cpufreq.c
+++ b/
xen/drivers/cpufreq/cpufreq.c
@@
-650,6
+650,5
@@
int __init cpufreq_register_driver(struct cpufreq_driver *driver_data)
cpufreq_driver = driver_data;
- register_cpu_notifier(&cpu_nfb);
return 0;
}