video: rockchip: lcdc: 3288: update CABC config
[firefly-linux-kernel-4.4.55.git] / fs / binfmt_em86.c
index 2790c7e1912eca0338bf97d470e9ca5b47252159..037a3e2b045b07b27fc1f1fde0a0b3f2e1a541df 100644 (file)
@@ -22,7 +22,7 @@
 #define EM86_INTERP    "/usr/bin/em86"
 #define EM86_I_NAME    "em86"
 
-static int load_em86(struct linux_binprm *bprm,struct pt_regs *regs)
+static int load_em86(struct linux_binprm *bprm)
 {
        char *interp, *i_name, *i_arg;
        struct file * file;
@@ -42,7 +42,6 @@ static int load_em86(struct linux_binprm *bprm,struct pt_regs *regs)
                        return -ENOEXEC;
        }
 
-       bprm->recursion_depth++; /* Well, the bang-shell is implicit... */
        allow_write_access(bprm->file);
        fput(bprm->file);
        bprm->file = NULL;
@@ -90,7 +89,7 @@ static int load_em86(struct linux_binprm *bprm,struct pt_regs *regs)
        if (retval < 0)
                return retval;
 
-       return search_binary_handler(bprm, regs);
+       return search_binary_handler(bprm);
 }
 
 static struct linux_binfmt em86_format = {