From: Fenghua Yu Date: Tue, 28 Feb 2006 00:16:22 +0000 (-0800) Subject: [IA64] New IA64 core/thread detection patch X-Git-Tag: v2.6.17-rc1~732^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4129a953ad4db379d8e07b0dd2157998653a1325;p=pandora-kernel.git [IA64] New IA64 core/thread detection patch IPF SDM 2.2 changes definition of PAL_LOGICAL_TO_PHYSICAL to add proc_number=-1 to get core/thread mapping info on the running processer. Based on this change, we had better to update existing core/thread detection in IA64 kernel correspondingly. The attached patch implements this change. It simplifies detection code and eliminates potential race condition. It also runs a bit faster and has better scalability especially when cores and threads number grows up in one package. Signed-off-by: Fenghua Yu Signed-off-by: Tony Luck --- Reading git-diff-tree failed