ARM: mach-mvebu: remove redundant DT parsing and validation
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Tue, 23 Jul 2013 11:32:42 +0000 (12:32 +0100)
committerJason Cooper <jason@lakedaemon.net>
Fri, 9 Aug 2013 13:02:51 +0000 (13:02 +0000)
commita7160b7eaf2d914e1b552807b9d13acf23b47293
tree67169749cf60bd10da936efb44fd4dad0ca3de65
parentad81f0545ef01ea651886dddac4bef6cec930092
ARM: mach-mvebu: remove redundant DT parsing and validation

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.

Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Acked-by: Gregory Clement <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/platsmp.c