From: Andi Kleen Date: Thu, 9 Apr 2009 10:28:22 +0000 (+0200) Subject: x86, mce: make polling timer interval per CPU X-Git-Tag: v2.6.30-rc5~52^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6298c512bc1007c3ff5c9ce20e6996781651cc45;p=pandora-kernel.git x86, mce: make polling timer interval per CPU The polling timer while running per CPU still uses a global next_interval variable, which lead to some CPUs either polling too fast or too slow. This was not a serious problem because all errors get picked up eventually, but it's still better to avoid it. Turn next_interval into a per cpu variable. v2: Fix check_interval == 0 case (Hidetoshi Seto) [ Impact: minor bug fix ] Signed-off-by: Andi Kleen Reviewed-by: Hidetoshi Seto Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed