Date: Tue, 17 Feb 2009 15:41:41 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r188714 - stable/7/sys/sys Message-ID: <200902171541.n1HFffIZ018867@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902171541.n1HFffIZ018867>