[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] xen: 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> --- Cc: Jan Beulich <JBeulich@xxxxxxxx> Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Cc: "Wang, Wei W" <wei.w.wang@xxxxxxxxx> Cc: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> --- xen/drivers/cpufreq/cpufreq.c | 1 - 1 file changed, 1 deletion(-) 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; } _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |