VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Takashi YOSHII <yoshii.takashi@renesas.com> 2008-08-11 20:10:54 +0900 committer: Paul Mundt <lethal@linux-sh.org> 2008-08-11 20:17:55 +0900 commit: 74c27c43ebd020fcb65364613503f6c08dc6f535 parent: ce9c008c8bea25a974d9027b7c6602d535639899
Commit Summary:
binfmt_flat: Stub in a FLAT_PLAT_INIT().
Diffstat:
1 file changed, 3 insertions, 1 deletion
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index 56372ecf1690..dfc0197905ca 100644
--- a/fs/binfmt_flat.c
+++ b/fs/binfmt_flat.c
@@ -914,7 +914,9 @@ static int load_flat_binary(struct linux_binprm * bprm, struct pt_regs * regs)
 	/* Stash our initial stack pointer into the mm structure */
 	current->mm->start_stack = (unsigned long )sp;
 
-	
+#ifdef FLAT_PLAT_INIT
+	FLAT_PLAT_INIT(regs);
+#endif
 	DBG_FLT("start_thread(regs=0x%x, entry=0x%x, start_stack=0x%x)\n",
 		(int)regs, (int)start_addr, (int)current->mm->start_stack);