Re: [PATCH] cpufreq: stats: Make the stats code non-modular
From: Rafael J. Wysocki
Date: Tue May 31 2016 - 16:43:34 EST
On Tuesday, May 31, 2016 04:14:34 PM Viresh Kumar wrote:
> On 28-05-16, 15:15, Rafael J. Wysocki wrote:
> > -static int __init cpufreq_stats_init(void)
> > -{
> > - int ret;
> > - unsigned int cpu;
> > -
> > - spin_lock_init(&cpufreq_stats_lock);
>
> My bad for ignoring this, but the spin lock is left uninitialized now
That's embarrassing.
Should be fixed now, thanks!