Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/x86 Needs cpu_init_tss() for application proces...
details: https://anonhg.NetBSD.org/src/rev/249acd3daeb8
branches: trunk
changeset: 358685:249acd3daeb8
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sat Jan 13 14:48:13 2018 +0000
description:
Needs cpu_init_tss() for application processor too.
diffstat:
sys/arch/xen/x86/cpu.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 342d00e5996c -r 249acd3daeb8 sys/arch/xen/x86/cpu.c
--- a/sys/arch/xen/x86/cpu.c Sat Jan 13 14:47:58 2018 +0000
+++ b/sys/arch/xen/x86/cpu.c Sat Jan 13 14:48:13 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.116 2017/11/11 11:00:47 maxv Exp $ */
+/* $NetBSD: cpu.c,v 1.117 2018/01/13 14:48:13 bouyer Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.116 2017/11/11 11:00:47 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.117 2018/01/13 14:48:13 bouyer Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -379,6 +379,7 @@
KM_SLEEP);
ci = (struct cpu_info *)roundup2(ptr, CACHE_LINE_SIZE);
memset(ci, 0, sizeof(*ci));
+ cpu_init_tss(ci);
} else {
aprint_naive(": %s Processor\n",
caa->cpu_role == CPU_ROLE_SP ? "Single" : "Boot");
Home |
Main Index |
Thread Index |
Old Index