]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kernel/debug: Make use of KGDB_REASON_NMI
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 30 Jul 2012 11:58:10 +0000 (04:58 -0700)
committerJason Wessel <jason.wessel@windriver.com>
Tue, 31 Jul 2012 13:16:43 +0000 (08:16 -0500)
commitb10d22d6e8f76b9e94871aebe0fc62aab2748200
treefd2452bd709147091ac03f7d458d974e1f8d5ab4
parent07cd27bbd4d07af6c3e24ae479316a69e7935e1e
kernel/debug: Make use of KGDB_REASON_NMI

Currently kernel never set KGDB_REASON_NMI. We do now, when we enter
KGDB/KDB from an NMI.

This is not to be confused with kgdb_nmicallback(), NMI callback is
an entry for the slave CPUs during CPUs roundup, but REASON_NMI is the
entry for the master CPU.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
kernel/debug/kdb/kdb_debugger.c