summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2018-09-26 03:05:53 +0000
committerderaadt <deraadt@openbsd.org>2018-09-26 03:05:53 +0000
commitdcdbdc1da36ae18558472ee8c65e3edfbfa94eca (patch)
tree38709c50557c9dd0bc6d41acd5982640926637f6
parentrelated to the fsck changes, quotacheck must also determine & setup (diff)
downloadwireguard-openbsd-dcdbdc1da36ae18558472ee8c65e3edfbfa94eca.tar.xz
wireguard-openbsd-dcdbdc1da36ae18558472ee8c65e3edfbfa94eca.zip
Increase the timeout from previous commit further. Rather than warning
we have spun out (to which there are consequences), we should spin longer. The BSP really wants the APs to finish.
-rw-r--r--sys/arch/amd64/amd64/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/cpu.c b/sys/arch/amd64/amd64/cpu.c
index 302395da251..26fd458db95 100644
--- a/sys/arch/amd64/amd64/cpu.c
+++ b/sys/arch/amd64/amd64/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.127 2018/08/25 05:29:28 deraadt Exp $ */
+/* $OpenBSD: cpu.c,v 1.128 2018/09/26 03:05:53 deraadt Exp $ */
/* $NetBSD: cpu.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */
/*-
@@ -692,7 +692,7 @@ cpu_start_secondary(struct cpu_info *ci)
atomic_setbits_int(&ci->ci_flags, CPUF_IDENTIFY);
/* wait for it to identify */
- for (i = 500000; (ci->ci_flags & CPUF_IDENTIFY) && i > 0; i--)
+ for (i = 2000000; (ci->ci_flags & CPUF_IDENTIFY) && i > 0; i--)
delay(10);
if (ci->ci_flags & CPUF_IDENTIFY)