From: Borislav Petkov Date: Tue, 1 Jun 2010 19:04:55 +0000 (+0200) Subject: x86, smpboot: Fix cores per node printing on boot X-Git-Tag: v2.6.35-rc2~44^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4adc8b71cc142f9a7b44b13b99aab38ba897c56f;p=pandora-kernel.git x86, smpboot: Fix cores per node printing on boot Percpu initialization happens now after booting the cores on the machine and this causes them all to be displayed as belonging to node 0: Jun 8 05:57:21 kepek kernel: [ 0.106999] Booting Node 0, Processors #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 #14 #15 #16 #17 #18 #19 #20 #21 #22 #23 Ok. Use early_cpu_to_node() to get the correct node of each core instead. Signed-off-by: Borislav Petkov Cc: Mike Travis LKML-Reference: <20100601190455.GA14237@aftab> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed