From: Jan Kiszka Date: Mon, 6 Oct 2008 18:50:59 +0000 (-0500) Subject: kgdb, x86: Avoid invoking kgdb_nmicallback twice per NMI X-Git-Tag: v2.6.27-rc9~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e85ceae9102f6e3c1d707e7ac88fa48d252e9cfa;p=pandora-kernel.git kgdb, x86: Avoid invoking kgdb_nmicallback twice per NMI Stress-testing KVM's latest NMI support with kgdbts inside an SMP guest, I came across spurious unhandled NMIs while running the singlestep test. Looking closer at the code path each NMI takes when KGDB is enabled, I noticed that kgdb_nmicallback is called twice per event: One time via DIE_NMI_IPI notification, the second time on DIE_NMI. Removing the first invocation cures the unhandled NMIs here. Signed-off-by: Jan Kiszka Signed-off-by: Jason Wessel --- Reading git-diff-tree failed