From: Borislav Petkov Date: Wed, 16 Sep 2009 11:05:46 +0000 (+0200) Subject: amd64_edac: check NB MCE bank enable on the current node properly X-Git-Tag: v2.6.32-rc1~660^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06724535f8fa26e78238bf8adfc9c81650a665f7;p=pandora-kernel.git amd64_edac: check NB MCE bank enable on the current node properly The old code was using smp_call_function_many which skips the current cpu if it is in the supplied cpumask. Switch to the rdmsr_on_cpus() interface which takes care of that. In addition, add get_cpus_on_this_dct_cpumask helper which computes a cpumask of all the cores on a node and thus on a DCT. Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed