RE: [PATCH] ARC: Adjust cpuinfo for non-continuous cpu ids

2016-10-19 Thread Noam Camus
> From: Vineet Gupta [mailto:vineet.gup...@synopsys.com] > Sent: Tuesday, October 18, 2016 8:49 PM >> >> num_possible_cpus() returns how many CPUs may be present on system. >> However we want the highest possible CPU number. > >Highest possible number "Detected" at boot ? Can you explain a bit

Re: [PATCH] ARC: Adjust cpuinfo for non-continuous cpu ids

2016-10-18 Thread Vineet Gupta
On 10/18/2016 06:47 AM, Noam Camus wrote: > From: Noam Camus > > num_possible_cpus() returns how many CPUs may be present on system. > However we want the highest possible CPU number. Highest possible number "Detected" at boot ? Can you explain a bit more ! > This may be

[PATCH] ARC: Adjust cpuinfo for non-continuous cpu ids

2016-10-18 Thread Noam Camus
From: Noam Camus num_possible_cpus() returns how many CPUs may be present on system. However we want the highest possible CPU number. This may be differ in a sparsed possible CPUs map. Signed-off-by: Noam Camus Acked-by: Vineet Gupta