Skip to content
Commit 74212ca4 authored by Cesar Eduardo Barros's avatar Cesar Eduardo Barros Committed by Dave Jones
Browse files

[CPUFREQ] Warn when cpufreq_register_notifier called before pure initcalls



If cpufreq_register_notifier is called before pure initcalls,
init_cpufreq_transition_notifier_list will overwrite whatever it did,
causing notifiers to be ignored.

Print some noise to the kernel log if that happens.

Signed-off-by: default avatarCesar Eduardo Barros <cesarb@cesarb.net>
Signed-off-by: default avatarDave Jones <davej@codemonkey.org.uk>
parent 45709118
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment