mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Fix from Tor so that if we enter the debugger in the tristate going to
SMP (other CPUs stopped but SMP mode not really started). Obtained from: Tor.Egge@fast.no
This commit is contained in:
parent
d6a0e38a1b
commit
7c4bd33778
2 changed files with 2 additions and 2 deletions
|
|
@ -167,7 +167,7 @@ kdb_trap(type, code, regs)
|
|||
#endif /* VERBOSE_CPUSTOP_ON_DDBBREAK */
|
||||
|
||||
/* Restart all the CPUs we previously stopped */
|
||||
if (stopped_cpus != other_cpus) {
|
||||
if (stopped_cpus != other_cpus && smp_started != 0) {
|
||||
db_printf("whoa, other_cpus: 0x%08x, stopped_cpus: 0x%08x\n",
|
||||
other_cpus, stopped_cpus);
|
||||
panic("stop_cpus() failed");
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ kdb_trap(type, code, regs)
|
|||
#endif /* VERBOSE_CPUSTOP_ON_DDBBREAK */
|
||||
|
||||
/* Restart all the CPUs we previously stopped */
|
||||
if (stopped_cpus != other_cpus) {
|
||||
if (stopped_cpus != other_cpus && smp_started != 0) {
|
||||
db_printf("whoa, other_cpus: 0x%08x, stopped_cpus: 0x%08x\n",
|
||||
other_cpus, stopped_cpus);
|
||||
panic("stop_cpus() failed");
|
||||
|
|
|
|||
Loading…
Reference in a new issue