From: Prarit Bhargava Date: Wed, 12 Nov 2008 18:35:00 +0000 (-0500) Subject: x86: warn of incorrect cpu_khz on AMD systems X-Git-Tag: v2.6.29-rc1~587^2~4^6~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8652cb4b0d87accbe78725fd2a13be2787059649;p=pandora-kernel.git x86: warn of incorrect cpu_khz on AMD systems Impact: add debug check If none of the perfctrs are free when calculating cpu_khz we default to using ctr 3 (ie, we just choose 3). This may lead to an incorrect tsc freq value which can cause the system to be unstable. To aid in future debugging, WARN the user of a potential problem. Signed-off-by: Prarit Bhargava Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed