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
e9e0512210
commit
04a7af3451
@ -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…
x
Reference in New Issue
Block a user