diff options
author | netchild <netchild@FreeBSD.org> | 2007-01-07 19:00:38 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2007-01-07 19:00:38 +0000 |
commit | 977ef4a8bc07aa2c92b23e4bb7186faa23962c01 (patch) | |
tree | 2e7e3c97c0aff026ed87ffff86d825e74404ebfe /sys/amd64/linux32 | |
parent | dbeee4cdb70c4f3e6ed86a2e3c135873e756084c (diff) | |
download | FreeBSD-src-977ef4a8bc07aa2c92b23e4bb7186faa23962c01.zip FreeBSD-src-977ef4a8bc07aa2c92b23e4bb7186faa23962c01.tar.gz |
MFp4 (112498):
Rename the locking flags to EMUL_DOLOCK and EMUL_DONTLOCK to prevent confusion.
Submitted by: rdivacky
Diffstat (limited to 'sys/amd64/linux32')
-rw-r--r-- | sys/amd64/linux32/linux32_machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/linux32/linux32_machdep.c b/sys/amd64/linux32/linux32_machdep.c index a378c22..7a164863 100644 --- a/sys/amd64/linux32/linux32_machdep.c +++ b/sys/amd64/linux32/linux32_machdep.c @@ -564,7 +564,7 @@ linux_clone(struct thread *td, struct linux_clone_args *args) /* create the emuldata */ error = linux_proc_init(td, p2->p_pid, args->flags); /* reference it - no need to check this */ - em = em_find(p2, EMUL_UNLOCKED); + em = em_find(p2, EMUL_DOLOCK); KASSERT(em != NULL, ("clone: emuldata not found.\n")); /* and adjust it */ if (args->flags & CLONE_PARENT_SETTID) { |