diff options
author | jkim <jkim@FreeBSD.org> | 2007-03-02 00:08:47 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2007-03-02 00:08:47 +0000 |
commit | 554fb0a678acc072c137c8910be47babbdd30496 (patch) | |
tree | 76f3354eaac42ce1077343edb09d5f39cf288b70 /sys/compat/linux/linux_emul.c | |
parent | 6086e6d82ae2cc0542ea4b8f999a22d2e04472bb (diff) | |
download | FreeBSD-src-554fb0a678acc072c137c8910be47babbdd30496.zip FreeBSD-src-554fb0a678acc072c137c8910be47babbdd30496.tar.gz |
MFP4: 115220, 115222
- Fix style(9) and reduce diff between amd64 and i386.
- Prefix Linuxulator macros with LINUX_ to prevent future collision.
Diffstat (limited to 'sys/compat/linux/linux_emul.c')
-rw-r--r-- | sys/compat/linux/linux_emul.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_emul.c b/sys/compat/linux/linux_emul.c index 0209d89..a0221b9 100644 --- a/sys/compat/linux/linux_emul.c +++ b/sys/compat/linux/linux_emul.c @@ -86,7 +86,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; - if (flags & CLONE_THREAD) { + if (flags & LINUX_CLONE_THREAD) { /* handled later in the code */ } else { struct linux_emuldata_shared *s; @@ -113,7 +113,7 @@ linux_proc_init(struct thread *td, pid_t child, int flags) * proc */ if (child != 0) { - if (flags & CLONE_THREAD) { + if (flags & LINUX_CLONE_THREAD) { /* lookup the parent */ /* * we dont have to lock the p_em because |