OK, I see. Seems like we don't have choice but make it bool. I will try to make it better later.
Thanks, Yuantian
-----Original Message----- From: Viresh Kumar [mailto:viresh.kumar@linaro.org] Sent: Thursday, September 04, 2014 12:37 PM To: Tang Yuantian-B29983 Cc: Rafael Wysocki; linaro-kernel@lists.linaro.org; linux-pm@vger.kernel.org; Li Yang-Leo-R58472; Jia Hongtao-B38951 Subject: Re: [PATCH 2/2] cpufreq: ppc-corenet: remove per-cpu variable 'cpu_mask'
On 4 September 2014 10:03, Yuantian Tang Yuantian.Tang@freescale.com wrote:
What about the other arch? Can they deal with this situation?
Yes for most of them (speacially ARM), because they fulfill the requirement of CPUFreq core. i.e. set policy->cpus to all online+offline CPUs.