On 6/30/2011 6:11 AM, Russell King - ARM Linux wrote:
> On Wed, Jun 29, 2011 at 11:31:39AM -0700, Stephen Boyd wrote:
>> void __init platform_smp_prepare_cpus(unsigned int max_cpus)
>> {
>> -int i;
>> -
>> /*
>> * Initialise the present map, which describes the set of CPUs
>>
On Wed, Jun 29, 2011 at 11:31:39AM -0700, Stephen Boyd wrote:
> void __init platform_smp_prepare_cpus(unsigned int max_cpus)
> {
> - int i;
> -
> /*
>* Initialise the present map, which describes the set of CPUs
>* actually populated at the present time.
>*/
> -
On Wed, Jun 29, 2011 at 11:31:39AM -0700, Stephen Boyd wrote:
> If an ARM system has multiple cpus in the same socket and the
> kernel is booted with maxcpus=1, secondary cpus are possible but
> not present due to how platform_smp_prepare_cpus() is called.
> Fix this by always calling platform_smp_
If an ARM system has multiple cpus in the same socket and the
kernel is booted with maxcpus=1, secondary cpus are possible but
not present due to how platform_smp_prepare_cpus() is called.
Fix this by always calling platform_smp_prepare_cpus() as long as
max_cpus is non-zero (0 means no SMP) to all