summaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
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 /kernel/workqueue.c
parent220e2a8d22cd57d5ec8111465923c6c25691394d (diff)
downloadtalos-obmc-linux-dcdea6295d3b2ec1aafd8480860f34062d2d3a93.tar.gz
talos-obmc-linux-dcdea6295d3b2ec1aafd8480860f34062d2d3a93.zip
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 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud