From: Jason Wessel Date: Fri, 2 Apr 2010 16:47:02 +0000 (-0500) Subject: kgdb: eliminate kgdb_wait(), all cpus enter the same way X-Git-Tag: v2.6.34-rc4~83^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62fae312197a8fbcd3727261d59f5a6bd0dbf158;p=pandora-kernel.git 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 --- Reading git-diff-tree failed