diff options
author | dchagin <dchagin@FreeBSD.org> | 2011-02-12 20:58:59 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2011-02-12 20:58:59 +0000 |
commit | c26a93375022dbd9cfba49682acaa4620c432197 (patch) | |
tree | ef5435950a582e74f6d2ee652b2d401a110ad8d9 /sys/compat/linux/linux_emul.c | |
parent | de7bef34baf8e2ca0c3bd20220591c0c2f66fb21 (diff) | |
download | FreeBSD-src-c26a93375022dbd9cfba49682acaa4620c432197.zip FreeBSD-src-c26a93375022dbd9cfba49682acaa4620c432197.tar.gz |
Rename used_requeue and use it as bitwise field to store more flags.
Reimplement used_requeue logic with LINUX_XDEPR_REQUEUEOP flag.
Diffstat (limited to 'sys/compat/linux/linux_emul.c')
-rw-r--r-- | sys/compat/linux/linux_emul.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_emul.c b/sys/compat/linux/linux_emul.c index 31de4dd..69f1d08 100644 --- a/sys/compat/linux/linux_emul.c +++ b/sys/compat/linux/linux_emul.c @@ -87,7 +87,7 @@ linux_proc_init(struct thread *td, pid_t child, int flags) em = malloc(sizeof *em, M_LINUX, M_WAITOK | M_ZERO); em->pid = child; em->pdeath_signal = 0; - em->used_requeue = 0; + em->flags = 0; em->robust_futexes = NULL; if (flags & LINUX_CLONE_THREAD) { /* handled later in the code */ |