artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fad667
)
Put an splhigh() at the start of cpu_configure() to prevent splasserts
author
kettenis
<kettenis@openbsd.org>
Wed, 14 Dec 2022 13:55:11 +0000
(13:55 +0000)
committer
kettenis
<kettenis@openbsd.org>
Wed, 14 Dec 2022 13:55:11 +0000
(13:55 +0000)
trigger in autoconf. Matches what we do on (many) other architectures.
ok miod@
sys/arch/armv7/armv7/autoconf.c
patch
|
blob
|
history
diff --git
a/sys/arch/armv7/armv7/autoconf.c
b/sys/arch/armv7/armv7/autoconf.c
index
64785f9
..
ba12c2f
100644
(file)
--- a/
sys/arch/armv7/armv7/autoconf.c
+++ b/
sys/arch/armv7/armv7/autoconf.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: autoconf.c,v 1.1
2 2022/09/08 10:22:06 kn Exp $
*/
+/* $OpenBSD: autoconf.c,v 1.1
3 2022/12/14 13:55:11 kettenis Exp $
*/
/* $NetBSD: autoconf.c,v 1.2 2001/09/05 16:17:36 matt Exp $ */
/*
@@
-72,6
+72,8
@@
device_register(struct device *dev, void *aux)
void
cpu_configure(void)
{
+ splhigh();
+
softintr_init();
/*