From: Anton Vorontsov Date: Mon, 24 Sep 2012 21:27:50 +0000 (-0700) Subject: kernel/debug: Mask KGDB NMI upon entry X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~74^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a14fead07bcf4e0acc877a8d9e1d1f40a441153;p=pandora-kernel.git kernel/debug: Mask KGDB NMI upon entry The new arch callback should manage NMIs that usually cause KGDB to enter. That is, not all NMIs should be enabled/disabled, but only those that issue kgdb_handle_exception(). We must mask it as serial-line interrupt can be used as an NMI, so if the original KGDB-entry cause was say a breakpoint, then every input to KDB console will cause KGDB to reenter, which we don't want. Signed-off-by: Anton Vorontsov Acked-by: Jason Wessel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed