summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-10-23 09:22:18 +0000
committerphk <phk@FreeBSD.org>2000-10-23 09:22:18 +0000
commit7b50f6cc73be199a04244c314383955c70c6ae82 (patch)
tree40c9a4470f57b8456486d7fbe8aeeb775d7284db
parentb284ed55ed20b3b4a1114f11797c2f73c0d2e6aa (diff)
downloadFreeBSD-src-7b50f6cc73be199a04244c314383955c70c6ae82.zip
FreeBSD-src-7b50f6cc73be199a04244c314383955c70c6ae82.tar.gz
Generate LOTS of warnings to remind the SMPng crew to fix the curproc
UP/SMP issue.
-rw-r--r--sys/sys/mutex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h
index ca81f74..4d3a9d5 100644
--- a/sys/sys/mutex.h
+++ b/sys/sys/mutex.h
@@ -41,6 +41,10 @@
#include <machine/bus.h>
#include <machine/cpufunc.h>
#include <machine/globals.h>
+#ifndef curproc
+struct proc;
+extern struct proc *curproc;
+#endif
#endif /* _KERNEL_ */
#endif /* !LOCORE */
OpenPOWER on IntegriCloud