From: Thomas Gleixner Date: Thu, 19 Jul 2012 17:59:37 +0000 (-0400) Subject: x86: mce: Disable preemption when calling raise_local() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~85^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea22571c8fd912f28e2525f7112bbb84b474ff3a;p=pandora-kernel.git x86: mce: Disable preemption when calling raise_local() raise_mce() has a code path which does not disable preemption when the raise_local() is called. The per cpu variable access in raise_local() depends on preemption being disabled to be functional. So that code path was either never tested or never tested with CONFIG_DEBUG_PREEMPT enabled. Add the missing preempt_disable/enable() pair around the call. Signed-off-by: Thomas Gleixner Signed-off-by: Chen Gong Signed-off-by: Tony Luck --- Reading git-diff-tree failed