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:
mjacob 1999-09-25 18:35:38 +00:00
parent e9e0512210
commit 04a7af3451
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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");