From 2112b38629e86c02d3d230b236022905a7e7b49b Mon Sep 17 00:00:00 2001 From: Takashi YOSHII Date: Mon, 11 Aug 2008 20:10:54 +0900 Subject: [PATCH] --- yaml --- r: 108922 b: refs/heads/master c: 74c27c43ebd020fcb65364613503f6c08dc6f535 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/binfmt_flat.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 1a756f78bdec..36d0d4d15a24 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ce9c008c8bea25a974d9027b7c6602d535639899 +refs/heads/master: 74c27c43ebd020fcb65364613503f6c08dc6f535 diff --git a/trunk/fs/binfmt_flat.c b/trunk/fs/binfmt_flat.c index 56372ecf1690..dfc0197905ca 100644 --- a/trunk/fs/binfmt_flat.c +++ b/trunk/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);