Re: [PATCH] cpufreq: timer: Move tick-sched specific code outside of cpufreq governors

2012-10-15 Thread Michal Hocko
ULL); > + > + if (idle_time == -1ULL) > + return get_cpu_idle_time_jiffy(cpu, wall); > + else > + idle_time += get_cpu_iowait_time_us(cpu, wall); > + > + return idle_time; > +} > +EXPORT_SYMBOL_GPL(get_cpu_idle_time); > + &

Re: [PATCH] cpufreq: timer: Move tick-sched specific code outside of cpufreq governors

2012-10-15 Thread Michal Hocko
On Mon 15-10-12 14:11:53, Viresh Kumar wrote: > On 15 October 2012 14:05, Michal Hocko wrote: [...] > > I would suggest moving the common functionality into drivers/cpufreq/ > > (e.g. cpufreq_common.c). > > Initially i did that only, but then thought these routines must