CPUFREQ: Remove cpufreq_stats sysfs entries on module unload.
commit 13f06753 upstream. cpufreq_stats leaves behind its sysfs entries, which causes a panic when something stumbled across them. (Discovered by unloading cpufreq_stats while powertop was loaded). Signed-off-by:Dave Jones <davej@redhat.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by:
Andi Kleen <ak@linux.intel.com>
Loading
Please sign in to comment