summaryrefslogtreecommitdiff
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2010-04-02 16:47:02 (GMT)
committerJason Wessel <jason.wessel@windriver.com>2010-04-02 19:58:18 (GMT)
commit62fae312197a8fbcd3727261d59f5a6bd0dbf158 (patch)
treeaa5166126f2735545326fe8af8a76627f5760191 /lib/fault-inject.c
parentcad08acebf4b7d993b0cefb9af67208c48fb9a5e (diff)
downloadlinux-62fae312197a8fbcd3727261d59f5a6bd0dbf158.tar.xz
kgdb: eliminate kgdb_wait(), all cpus enter the same way
This is a kgdb architectural change to have all the cpus (master or slave) enter the same function. A cpu that hits an exception (wants to be the master cpu) will call kgdb_handle_exception() from the trap handler and then invoke a kgdb_roundup_cpu() to synchronize the other cpus and bring them into the kgdb_handle_exception() as well. A slave cpu will enter kgdb_handle_exception() from the kgdb_nmicallback() and set the exception state to note that the processor is a slave. Previously the salve cpu would have called kgdb_wait(). This change allows the debug core to change cpus without resuming the system in order to inspect arch specific cpu information. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions