Re: [PATCH PM-QA] Simplify code to obtain number of cpus for a platform

2014-08-08 Thread Amit Kucheria
On Fri, Aug 8, 2014 at 7:02 PM, Sanjay Singh Rawat wrote: > > On Friday 08 August 2014 10:43 AM, Amit Kucheria wrote: >> >> On Fri, Aug 8, 2014 at 7:05 AM, Lisa Nguyen >> wrote: >>> >>> Create a global variable that will look for number of cpus >>> for a platform and use it in multiple functions

Re: [PATCH PM-QA] Simplify code to obtain number of cpus for a platform

2014-08-08 Thread Chris Redpath
On 08/08/14 14:32, Sanjay Singh Rawat wrote: On Friday 08 August 2014 10:43 AM, Amit Kucheria wrote: On Fri, Aug 8, 2014 at 7:05 AM, Lisa Nguyen wrote: Create a global variable that will look for number of cpus for a platform and use it in multiple functions to make the code simplier to read.

Re: [PATCH PM-QA] Simplify code to obtain number of cpus for a platform

2014-08-08 Thread Sanjay Singh Rawat
On Friday 08 August 2014 10:43 AM, Amit Kucheria wrote: On Fri, Aug 8, 2014 at 7:05 AM, Lisa Nguyen wrote: Create a global variable that will look for number of cpus for a platform and use it in multiple functions to make the code simplier to read. Agree with the patch. Signed-off-by: Lisa

Re: [PATCH PM-QA] Simplify code to obtain number of cpus for a platform

2014-08-07 Thread Amit Kucheria
On Fri, Aug 8, 2014 at 7:05 AM, Lisa Nguyen wrote: > Create a global variable that will look for number of cpus > for a platform and use it in multiple functions to make the > code simplier to read. Agree with the patch. > Signed-off-by: Lisa Nguyen > --- > diff --git a/cpuhotplug/cpuhotplug_s