Author: mjg Date: Sun Oct 5 21:39:50 2014 New Revision: 272574 URL: https://svnweb.freebsd.org/changeset/base/272574
Log: seq_t needs to be visible to userspace Pointy hat to: mjg Reported by: bz X-MFC: with r272567 Modified: head/sys/sys/seq.h Modified: head/sys/sys/seq.h ============================================================================== --- head/sys/sys/seq.h Sun Oct 5 21:34:56 2014 (r272573) +++ head/sys/sys/seq.h Sun Oct 5 21:39:50 2014 (r272574) @@ -29,6 +29,16 @@ #define _SYS_SEQ_H_ #ifdef _KERNEL +#include <sys/systm.h> +#endif +#include <sys/types.h> + +/* + * seq_t may be included in structs visible to userspace + */ +typedef uint32_t seq_t; + +#ifdef _KERNEL /* * Typical usage: @@ -54,10 +64,7 @@ * foo(lobj); */ -typedef uint32_t seq_t; - /* A hack to get MPASS macro */ -#include <sys/systm.h> #include <sys/lock.h> #include <machine/cpu.h> _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "[email protected]"
