VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Pekka Enberg <penberg@cs.helsinki.fi> 2008-06-05 22:46:46 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2008-06-06 11:29:13 -0700 commit: d100d148aa48df3b6ad526a48624f906695efe60 parent: 0842b245a8e6c14e3aa49f91018902591d1069b3
Commit Summary:
nommu: fix ksize() abuse
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c
index ddd35d873391..d051a32e6270 100644
--- a/fs/binfmt_elf_fdpic.c
+++ b/fs/binfmt_elf_fdpic.c
@@ -390,7 +390,7 @@ static int load_elf_fdpic_binary(struct linux_binprm *bprm,
 	}
 
 	/* expand the stack mapping to use up the entire allocation granule */
-	fullsize = ksize((char *) current->mm->start_brk);
+	fullsize = kobjsize((char *) current->mm->start_brk);
 	if (!IS_ERR_VALUE(do_mremap(current->mm->start_brk, stack_size,
 				    fullsize, 0, 0)))
 		stack_size = fullsize;