Module Name: src
Committed By: msaitoh
Date: Tue Jan 9 04:55:43 UTC 2018
Modified Files:
src/sys/rump/librump/rumpkern: rump.c
Log Message:
Set mp_online = ture. I don't know the "best" location to set it true.
This change might fix PR#52886.
To generate a diff of this commit:
cvs rdiff -u -r1.330 -r1.331 src/sys/rump/librump/rumpkern/rump.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpkern/rump.c
diff -u src/sys/rump/librump/rumpkern/rump.c:1.330 src/sys/rump/librump/rumpkern/rump.c:1.331
--- src/sys/rump/librump/rumpkern/rump.c:1.330 Tue Nov 21 08:49:14 2017
+++ src/sys/rump/librump/rumpkern/rump.c Tue Jan 9 04:55:43 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.330 2017/11/21 08:49:14 ozaki-r Exp $ */
+/* $NetBSD: rump.c,v 1.331 2018/01/09 04:55:43 msaitoh Exp $ */
/*
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.330 2017/11/21 08:49:14 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.331 2018/01/09 04:55:43 msaitoh Exp $");
#include <sys/systm.h>
#define ELFSIZE ARCH_ELFSIZE
@@ -392,6 +392,8 @@ rump_init(void)
/* Once all CPUs are detected, initialize the per-CPU cprng_fast. */
cprng_fast_init();
+ mp_online = true;
+
/* CPUs are up. allow kernel threads to run */
rump_thread_allow(NULL);