Module Name: src Committed By: bouyer Date: Sat Jan 13 14:48:13 UTC 2018
Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Needs cpu_init_tss() for application processor too. To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/sys/arch/xen/x86/cpu.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/arch/xen/x86/cpu.c diff -u src/sys/arch/xen/x86/cpu.c:1.116 src/sys/arch/xen/x86/cpu.c:1.117 --- src/sys/arch/xen/x86/cpu.c:1.116 Sat Nov 11 11:00:47 2017 +++ src/sys/arch/xen/x86/cpu.c Sat Jan 13 14:48:13 2018 @@ -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 @@ cpu_attach_common(device_t parent, devic 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");