From: Matthew McClintock Date: Tue, 31 Aug 2010 23:24:45 +0000 (-0500) Subject: powerpc/fsl_booke: Add support to boot from core other than 0 X-Git-Tag: v2.6.37-rc1~180^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ed38b23597284cc96a97e295cb145a6202dfcd4;p=pandora-kernel.git powerpc/fsl_booke: Add support to boot from core other than 0 First we check to see if we are the first core booting up. This is accomplished by comparing the boot_cpuid with -1, if it is we assume this is the first core coming up. Secondly, we need to update the initial thread info structure to reflect the actual cpu we are running on otherwise smp_processor_id() and related functions will return the default initialization value of the struct or 0. Signed-off-by: Matthew McClintock Signed-off-by: Kumar Gala --- Reading git-diff-tree failed