xen/arm: Set nr_cpu_ids to available number of cpus
authorVijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Mon, 1 Feb 2016 09:26:13 +0000 (14:56 +0530)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 17 Feb 2017 23:07:00 +0000 (15:07 -0800)
commit75da1b150e646bb9aaa26c5b2452f0c3e782d302
treeaf98dde54a29a0b91291a4a345665f2c4a592fa8
parentf827ab0390625cff1f20ee5e140605e173238e81
xen/arm: Set nr_cpu_ids to available number of cpus

nr_cpu_ids for arm platforms is incorrectly set to NR_CPUS
irrespective of the number of cpus supported by platform.

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Reviewed-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/setup.c