artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13ae0a3
)
you need to include ddb/db_output.h so you know how to call db_printf
author
dlg
<dlg@openbsd.org>
Thu, 25 Jun 2015 00:58:49 +0000
(
00:58
+0000)
committer
dlg
<dlg@openbsd.org>
Thu, 25 Jun 2015 00:58:49 +0000
(
00:58
+0000)
inside MP_LOCKDEBUG.
sys/arch/amd64/amd64/lock_machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/amd64/amd64/lock_machdep.c
b/sys/arch/amd64/amd64/lock_machdep.c
index
a8e9946
..
5d15d2b
100644
(file)
--- a/
sys/arch/amd64/amd64/lock_machdep.c
+++ b/
sys/arch/amd64/amd64/lock_machdep.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: lock_machdep.c,v 1.
8 2015/03/14 03:38:46 js
g Exp $ */
+/* $OpenBSD: lock_machdep.c,v 1.
9 2015/06/25 00:58:49 dl
g Exp $ */
/*
* Copyright (c) 2007 Artur Grabowski <art@openbsd.org>
@@
-24,6
+24,8
@@
#include <machine/lock.h>
#include <machine/cpufunc.h>
+#include <ddb/db_output.h>
+
void
__mp_lock_init(struct __mp_lock *mpl)
{