diff options
| author | Tor Egge <tegge@FreeBSD.org> | 1999-04-10 22:58:29 +0000 |
|---|---|---|
| committer | Tor Egge <tegge@FreeBSD.org> | 1999-04-10 22:58:29 +0000 |
| commit | 90c26b0d2df20caa46bf8352c9a36cfb464da5cf (patch) | |
| tree | 5bd6a75567118e9c39ea37c031132b7785104617 /sys/kern/subr_smp.c | |
| parent | 897a45eff9ff6e052fe563e90d0dbc00b7d9522f (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_smp.c')
| -rw-r--r-- | sys/kern/subr_smp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index cde98a7b66ed..6bd4ddcc358d 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.93 1999/03/05 16:38:10 bde Exp $ + * $Id: mp_machdep.c,v 1.94 1999/04/07 17:08:40 peter Exp $ */ #include "opt_smp.h" @@ -1927,6 +1927,9 @@ start_all_aps(u_int boot_addr) for (i = 0; i < mp_ncpus; i++) { bcopy( (int *) PTD + KPTDI, (int *) IdlePTDS[i] + KPTDI, NKPDE * sizeof (int)); } + wait_ap(1000000); + if (smp_started == 0) + printf("WARNING: Failed to start all APs\n"); /* number of APs actually started */ return mp_ncpus - 1; |
