summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/calgary.h
diff options
context:
space:
mode:
authorFernando Luis Vázquez Cao <fernando@oss.ntt.co.jp>2006-09-26 10:52:36 +0200
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 10:52:36 +0200
commit06039754d775d3e48e4a292e4f353321205eff53 (patch)
treea6abdd9ca0efb34006792e7275c4a2c954b229be /include/asm-x86_64/calgary.h
parent6f6b1e0477ccb2f25a9b045e38440347d2ce21c8 (diff)
downloadop-kernel-dev-06039754d775d3e48e4a292e4f353321205eff53.zip
op-kernel-dev-06039754d775d3e48e4a292e4f353321205eff53.tar.gz
[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 <fernando@intellilink.co.jp> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/asm-x86_64/calgary.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud