From: Sudeep KarkadaNagesha Date: Tue, 23 Jul 2013 11:32:41 +0000 (+0100) Subject: ARM: vexpress: remove redundant vexpress_dt_cpus_num to get cpu count X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~45^2~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcdea6295d3b2ec1aafd8480860f34062d2d3a93;p=pandora-kernel.git 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 Signed-off-by: Pawel Moll --- Reading git-diff-tree failed