| Submitter | Riku@afflict.kos.to, Voipio@afflict.kos.to |
|---|---|
| Date | Dec. 3, 2010, 1:36 p.m. |
| Message ID | <9190749fbe075ece4a72380cc3dea919a8f960c3.1291382447.git.riku.voipio@nokia.com> |
| Download | mbox | patch |
| Permalink | /patch/74150/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 070241b..c3e8706 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -3635,11 +3635,12 @@ static int do_fork(CPUState *env, unsigned int flags, abi_ulong newsp, { int ret; TaskState *ts; - uint8_t *new_stack; CPUState *new_env; #if defined(CONFIG_USE_NPTL) unsigned int nptl_flags; sigset_t sigmask; +#else + uint8_t *new_stack; #endif /* Emulate vfork() with fork() */