vserver 2.0 rc7
[linux-2.6.git] / fs / binfmt_elf_fdpic.c
index 8f2a06a..134c9c0 100644 (file)
@@ -299,7 +299,7 @@ static int load_elf_fdpic_binary(struct linux_binprm *bprm, struct pt_regs *regs
        /* do this so that we can load the interpreter, if need be
         * - we will change some of these later
         */
-       vx_rsspages_sub(current->mm, current->mm->rss);
+       set_mm_counter(current->mm, rss, 0);
 
 #ifdef CONFIG_MMU
        retval = setup_arg_pages(bprm, current->mm->start_stack, executable_stack);