On Mon, Aug 19, 2019 at 11:14:27PM -0700, lon...@linuxonhyperv.com wrote: > +u64 get_cpu_rq_switches(int cpu) > +{ > + return cpu_rq(cpu)->nr_switches; > +} > +EXPORT_SYMBOL_GPL(get_cpu_rq_switches);
Also, that is broken on 32bit.
On Mon, Aug 19, 2019 at 11:14:27PM -0700, lon...@linuxonhyperv.com wrote: > +u64 get_cpu_rq_switches(int cpu) > +{ > + return cpu_rq(cpu)->nr_switches; > +} > +EXPORT_SYMBOL_GPL(get_cpu_rq_switches);
Also, that is broken on 32bit.