diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-12-02 14:09:32 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-12-02 14:09:32 +0000 |
commit | e184004d548b6a8a7306d7d5081a5b90e9a7691f (patch) | |
tree | 40d4eb37329db5dbb1bbb486e477304df70aef74 /sys | |
parent | fe5351388c90f0fef85a6aaee20a722d8a7bb739 (diff) | |
download | FreeBSD-src-e184004d548b6a8a7306d7d5081a5b90e9a7691f.zip FreeBSD-src-e184004d548b6a8a7306d7d5081a5b90e9a7691f.tar.gz |
1. Cleanup including.
2. Set configuration value for CTL_P1003_1B_MESSAGE_PASSING.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/uipc_mqueue.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/kern/uipc_mqueue.c b/sys/kern/uipc_mqueue.c index f5f675f..e457c62 100644 --- a/sys/kern/uipc_mqueue.c +++ b/sys/kern/uipc_mqueue.c @@ -54,8 +54,8 @@ __FBSDID("$FreeBSD$"); #include <sys/event.h> #include <sys/eventhandler.h> #include <sys/fcntl.h> -#include <sys/filedesc.h> #include <sys/file.h> +#include <sys/filedesc.h> #include <sys/limits.h> #include <sys/lock.h> #include <sys/malloc.h> @@ -69,18 +69,16 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <sys/sysproto.h> #include <sys/stat.h> -#include <sys/sysent.h> #include <sys/syscall.h> #include <sys/syscallsubr.h> +#include <sys/sysent.h> #include <sys/sx.h> #include <sys/sysctl.h> -#include <sys/sysctl.h> -#include <sys/vnode.h> -#include <sys/sysctl.h> #include <sys/taskqueue.h> #include <sys/unistd.h> #include <sys/vnode.h> #include <machine/atomic.h> +#include <posix4/posix4.h> /* * Limits and constants @@ -639,6 +637,7 @@ mqfs_init(struct vfsconf *vfc) exit_tag = EVENTHANDLER_REGISTER(process_exit, mq_proc_exit, NULL, EVENTHANDLER_PRI_ANY); mq_fdclose = mqueue_fdclose; + p31b_setcfg(CTL_P1003_1B_MESSAGE_PASSING, _POSIX_MESSAGE_PASSING); return (0); } |