From: Lorenzo Pieralisi Date: Wed, 19 Jun 2013 09:40:48 +0000 (+0100) Subject: ARM: 7763/1: kernel: fix __cpu_logical_map default initialization X-Git-Tag: v3.10~19^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18d7f152df31e5a326301fdaad385e40874dff80;p=pandora-kernel.git ARM: 7763/1: kernel: fix __cpu_logical_map default initialization The __cpu_logical_map array is statically initialized to 0, which is a valid MPIDR value. To prevent issues with the current implementation, this patch defines an MPIDR_INVALID value, and statically initializes the __cpu_logical_map[] array to it. Entries in the arm_dt_init_cpu_maps() tmp_map array used to stash DT reg properties while parsing DT are initialized with the MPIDR_INVALID value as well for consistency. Signed-off-by: Lorenzo Pieralisi Acked-by: Nicolas Pitre Cc: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed