Module Name:    src
Committed By:   skrll
Date:           Sat May  1 07:11:12 UTC 2021

Modified Files:
        src/sys/arch/riscv/riscv: autoconf.c

Log Message:
Enable interrupts at the end of cpu_configure


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/riscv/riscv/autoconf.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/riscv/riscv/autoconf.c
diff -u src/sys/arch/riscv/riscv/autoconf.c:1.2 src/sys/arch/riscv/riscv/autoconf.c:1.3
--- src/sys/arch/riscv/riscv/autoconf.c:1.2	Wed Nov  4 07:09:46 2020
+++ src/sys/arch/riscv/riscv/autoconf.c	Sat May  1 07:11:12 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.2 2020/11/04 07:09:46 skrll Exp $	*/
+/*	$NetBSD: autoconf.c,v 1.3 2021/05/01 07:11:12 skrll Exp $	*/
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__RCSID("$NetBSD: autoconf.c,v 1.2 2020/11/04 07:09:46 skrll Exp $");
+__RCSID("$NetBSD: autoconf.c,v 1.3 2021/05/01 07:11:12 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -47,6 +47,8 @@ cpu_configure(void)
 
 	if (config_rootfound("mainbus", NULL) == NULL)
 		panic("no mainbus found");
+
+	spl0();
 }
 
 void

Reply via email to