binfmt_flat: Stub in a FLAT_PLAT_INIT().

This provides a FLAT_PLAT_INIT() arch hook for platforms that need to set
up specific register state prior to calling in to the process, as per
ELF_PLAT_INIT().

Signed-off-by: Takashi YOSHII <yoshii.takashi@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

authored by Takashi YOSHII and committed by Paul Mundt 74c27c43 ce9c008c

+3 -1
+3 -1
fs/binfmt_flat.c
··· 914 914 /* Stash our initial stack pointer into the mm structure */ 915 915 current->mm->start_stack = (unsigned long )sp; 916 916 917 - 917 + #ifdef FLAT_PLAT_INIT 918 + FLAT_PLAT_INIT(regs); 919 + #endif 918 920 DBG_FLT("start_thread(regs=0x%x, entry=0x%x, start_stack=0x%x)\n", 919 921 (int)regs, (int)start_addr, (int)current->mm->start_stack); 920 922