[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] cpufreq: fix notifier block double registration



commit 4930444bdf33157763ade5dd959b9a2a7477e0a3
Author:     Dario Faggioli <dario.faggioli@xxxxxxxxxx>
AuthorDate: Mon Oct 12 17:22:02 2015 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Oct 12 17:22:02 2015 +0200

    cpufreq: fix notifier block double registration
    
    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@xxxxxxxxxxxxx/msg41618.html
    
    Signed-off-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx>
---
 xen/drivers/cpufreq/cpufreq.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/xen/drivers/cpufreq/cpufreq.c b/xen/drivers/cpufreq/cpufreq.c
index 81a187b..6e666e4 100644
--- 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;
 }
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.