Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/bouyer-xenpvh]: src/sys/arch/xen/x86 We need to call x86_init_preempt() ...
details: https://anonhg.NetBSD.org/src/rev/327bf4373e6d
branches: bouyer-xenpvh
changeset: 982927:327bf4373e6d
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sun Apr 12 19:53:37 2020 +0000
description:
We need to call x86_init_preempt() for all CPUs now.
diffstat:
sys/arch/xen/x86/xen_intr.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 52b862f351b7 -r 327bf4373e6d sys/arch/xen/x86/xen_intr.c
--- a/sys/arch/xen/x86/xen_intr.c Sun Apr 12 17:25:52 2020 +0000
+++ b/sys/arch/xen/x86/xen_intr.c Sun Apr 12 19:53:37 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xen_intr.c,v 1.21.2.2 2020/04/12 17:25:52 bouyer Exp $ */
+/* $NetBSD: xen_intr.c,v 1.21.2.3 2020/04/12 19:53:37 bouyer Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xen_intr.c,v 1.21.2.2 2020/04/12 17:25:52 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xen_intr.c,v 1.21.2.3 2020/04/12 19:53:37 bouyer Exp $");
#include "opt_multiprocessor.h"
@@ -306,6 +306,11 @@
void
xen_cpu_intr_init(struct cpu_info *ci)
{
+#if defined(__HAVE_PREEMPTION)
+ x86_init_preempt(ci);
+#endif
+ x86_intr_calculatemasks(ci);
+
#if defined(INTRSTACKSIZE)
vaddr_t istack;
Home |
Main Index |
Thread Index |
Old Index