svn commit: r188714 - stable/7/sys/sys
John Baldwin
jhb at FreeBSD.org
Tue Feb 17 07:41:43 PST 2009
Author: jhb
Date: Tue Feb 17 15:41:41 2009
New Revision: 188714
URL: http://svn.freebsd.org/changeset/base/188714
Log:
MFC 1.39: Include <sys/pcpu.h> in <sys/sx.h> in the kernel so that
curthread is always defined.
Modified:
stable/7/sys/sys/sx.h
Modified: stable/7/sys/sys/sx.h
==============================================================================
--- stable/7/sys/sys/sx.h Tue Feb 17 15:39:16 2009 (r188713)
+++ stable/7/sys/sys/sx.h Tue Feb 17 15:41:41 2009 (r188714)
@@ -34,9 +34,10 @@
#include <sys/_lock.h>
#include <sys/_sx.h>
-#include <sys/lock_profile.h>
#ifdef _KERNEL
+#include <sys/pcpu.h>
+#include <sys/lock_profile.h>
#include <machine/atomic.h>
#endif
More information about the svn-src-stable-7
mailing list