From: Fernando Luis Vázquez Cao Date: Tue, 26 Sep 2006 08:52:36 +0000 (+0200) Subject: [PATCH] i386: Disallow kprobes on NMI handlers X-Git-Tag: v2.6.19-rc1~1077^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06039754d775d3e48e4a292e4f353321205eff53;p=pandora-kernel.git [PATCH] i386: Disallow kprobes on NMI handlers A kprobe executes IRET early and that could cause NMI recursion and stack corruption. Note: This problem was originally spotted and solved by Andi Kleen in the x86_64 architecture. This patch is an adaption of his patch for i386. AK: Merged with current code which was a bit different. AK: Removed printk in nmi handler that shouldn't be there in the first time AK: Added missing include. AK: added KPROBES_END Signed-off-by: Fernando Vazquez Signed-off-by: Andi Kleen --- Reading git-diff-tree failed