On Aug 31, 2010, at 6:24 PM, Matthew McClintock wrote: > 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 <m...@freescale.com> > --- > arch/powerpc/kernel/head_fsl_booke.S | 10 ++++++++-- > arch/powerpc/kernel/setup_32.c | 2 +- > 2 files changed, 9 insertions(+), 3 deletions(-)
Are we sticking with this or not? - k _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev