summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-vexpress/core.h
diff options
context:
space:
mode:
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>2013-07-23 12:32:41 +0100
committerPawel Moll <pawel.moll@arm.com>2014-05-15 17:02:21 +0100
commitdcdea6295d3b2ec1aafd8480860f34062d2d3a93 (patch)
tree37e3fb6bbda7d570982a6953313ab7bfee167783 /arch/arm/mach-vexpress/core.h
parent220e2a8d22cd57d5ec8111465923c6c25691394d (diff)
downloadop-kernel-dev-dcdea6295d3b2ec1aafd8480860f34062d2d3a93.zip
op-kernel-dev-dcdea6295d3b2ec1aafd8480860f34062d2d3a93.tar.gz
ARM: vexpress: remove redundant vexpress_dt_cpus_num to get cpu count
arm_dt_init_cpu_maps parses the device tree, validates and sets the cpu_possible_mask appropriately. It is unnecessary to do another DT parse to get the number of cpus, use num_possible_cpus instead. This patch also removes setting cpu_present_mask as platforms should only re-initialize it in smp_prepare_cpus() if present != possible. Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com> Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Diffstat (limited to 'arch/arm/mach-vexpress/core.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud