diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 1999-09-25 18:35:38 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 1999-09-25 18:35:38 +0000 |
| commit | 7c4bd33778096b295e424cdfc524b38d555824bb (patch) | |
| tree | e8621776d15b235763f861b4d80518917b52e5b2 /sys | |
| parent | d6a0e38a1bffb551c7a3159a072a0ac3b30abccb (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/amd64/amd64/db_interface.c | 2 | ||||
| -rw-r--r-- | sys/i386/i386/db_interface.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/db_interface.c b/sys/amd64/amd64/db_interface.c index cb7f228d671a..23691541920b 100644 --- a/sys/amd64/amd64/db_interface.c +++ b/sys/amd64/amd64/db_interface.c @@ -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"); diff --git a/sys/i386/i386/db_interface.c b/sys/i386/i386/db_interface.c index cb7f228d671a..23691541920b 100644 --- a/sys/i386/i386/db_interface.c +++ b/sys/i386/i386/db_interface.c @@ -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"); |
