Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: CVS commit: src/sys/arch/sparc/sparc
Module Name: src
Committed By: pk
Date: Mon Jan 13 01:35:47 UTC 2003
Modified Files:
src/sys/arch/sparc/sparc: machdep.c
Log Message:
Halt any other CPUs in cpu_reboot().
+ #if defined(MULTIPROCESSOR)
+ UNLOCK_XPMSG(); /* XXX - in case we paniced in xcall() */
+ XCALL0(cpu_halt, CPUSET_ALL & ~(1 << cpu_number()));
+ delay(100);
+ #endif /* MULTIPROCESSOR */
yuck. won't the unlock fail if it hasn't been locked? or if it
has been locked by someone else? also, won't this lose if we've
paniced? other cpus will be splhigh?
.mrg.
Home |
Main Index |
Thread Index |
Old Index