Skip to content
Commit b10d22d6 authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Jason Wessel
Browse files

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: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
parent 07cd27bb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment