artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dc5e67
)
put ci_mutex_level inside DIAGNOSTIC
author
robert
<robert@openbsd.org>
Fri, 5 Aug 2022 12:52:35 +0000
(12:52 +0000)
committer
robert
<robert@openbsd.org>
Fri, 5 Aug 2022 12:52:35 +0000
(12:52 +0000)
sys/arch/arm64/arm64/cpu.c
patch
|
blob
|
history
diff --git
a/sys/arch/arm64/arm64/cpu.c
b/sys/arch/arm64/arm64/cpu.c
index
59eee39
..
329521f
100644
(file)
--- a/
sys/arch/arm64/arm64/cpu.c
+++ b/
sys/arch/arm64/arm64/cpu.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: cpu.c,v 1.6
5 2022/07/13 09:28:18 kettenis Exp $
*/
+/* $OpenBSD: cpu.c,v 1.6
6 2022/08/05 12:52:35 robert Exp $
*/
/*
* Copyright (c) 2016 Dale Rahn <drahn@dalerahn.com>
@@
-1012,7
+1012,9
@@
cpu_resume_secondary(struct cpu_info *ci)
ci->ci_idepth = 0;
ci->ci_flags &= ~CPUF_PRESENT;
+#ifdef DIAGNOSTIC
ci->ci_mutex_level = 0;
+#endif
ci->ci_ttbr1 = 0;
p = ci->ci_schedstate.spc_idleproc;