Module Name: src
Committed By: riastradh
Date: Mon Feb 10 03:23:29 UTC 2020
Modified Files:
src/sys/rump/librump/rumpkern: rump.c
Log Message:
Initialize struct cpu_info::ci_cpuname (= ci_data.cpu_name) in rump.
To generate a diff of this commit:
cvs rdiff -u -r1.339 -r1.340 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.339 src/sys/rump/librump/rumpkern/rump.c:1.340
--- src/sys/rump/librump/rumpkern/rump.c:1.339 Thu Jan 2 15:42:27 2020
+++ src/sys/rump/librump/rumpkern/rump.c Mon Feb 10 03:23:29 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.339 2020/01/02 15:42:27 thorpej Exp $ */
+/* $NetBSD: rump.c,v 1.340 2020/02/10 03:23:29 riastradh 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.339 2020/01/02 15:42:27 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.340 2020/02/10 03:23:29 riastradh Exp $");
#include <sys/systm.h>
#define ELFSIZE ARCH_ELFSIZE
@@ -383,6 +383,7 @@ rump_init(void)
rump_cpu_attach(ci);
ncpu++;
}
+ snprintf(ci->ci_cpuname, sizeof ci->ci_cpuname, "cpu%d", i);
callout_init_cpu(ci);
softint_init(ci);