]> err.no Git - linux-2.6/blobdiff - fs/binfmt_elf_fdpic.c
[XFS] Remove several no-longer-used files.
[linux-2.6] / fs / binfmt_elf_fdpic.c
index 134c9c0d1f54f6128e55da8b14d17d69a76080dc..dda87c4c82a3c98c08109d577d98d24c70a2d5a9 100644 (file)
@@ -294,14 +294,7 @@ static int load_elf_fdpic_binary(struct linux_binprm *bprm, struct pt_regs *regs
                                  &interp_params,
                                  &current->mm->start_stack,
                                  &current->mm->start_brk);
-#endif
-
-       /* do this so that we can load the interpreter, if need be
-        * - we will change some of these later
-        */
-       set_mm_counter(current->mm, rss, 0);
 
-#ifdef CONFIG_MMU
        retval = setup_arg_pages(bprm, current->mm->start_stack, executable_stack);
        if (retval < 0) {
                send_sig(SIGKILL, current, 0);