diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-03-23 02:25:38 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-03-23 02:25:38 +0000 |
commit | 16b5d462f73eb29d1f67fa01cc1ea66afdc72569 (patch) | |
tree | 5407bd573f4840e473ea27cbe61e5c7a07131fcd /fs/binfmt_em86.c | |
parent | ce8a076e11e7e5ee36007f9a3eee5bb3744cb8f6 (diff) |
Merge with Linux 2.3.99-pre2.
Diffstat (limited to 'fs/binfmt_em86.c')
-rw-r--r-- | fs/binfmt_em86.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/binfmt_em86.c b/fs/binfmt_em86.c index 189d130ca..1a1533a10 100644 --- a/fs/binfmt_em86.c +++ b/fs/binfmt_em86.c @@ -12,6 +12,8 @@ #include <linux/string.h> #include <linux/stat.h> #include <linux/malloc.h> +#include <linux/locks.h> +#include <linux/smp_lock.h> #include <linux/binfmts.h> #include <linux/elf.h> #include <linux/init.h> @@ -81,7 +83,7 @@ static int load_em86(struct linux_binprm *bprm,struct pt_regs *regs) * space, and we don't need to copy it. */ lock_kernel(); - dentry = open_namei(interp, 0, 0); + dentry = open_namei(interp); unlock_kernel(); if (IS_ERR(dentry)) return PTR_ERR(dentry); |