Re: [PATCH] Fix the multithread program core thread message error

From: Amerigo Wang
Date: Wed Jul 01 2009 - 03:18:30 EST


On Wed, Jul 01, 2009 at 02:21:37PM +0800, Hui Zhu wrote:
>Thanks for your help, Amerigo.

You're welcome.

>
>Hui
>
>---
> elfcore.h | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/include/linux/elfcore.h b/include/linux/elfcore.h
>index 7605c5e..03ec167 100644
>--- a/include/linux/elfcore.h
>+++ b/include/linux/elfcore.h
>@@ -125,6 +125,8 @@ static inline int elf_core_copy_task_regs(struct
>task_struct *t, elf_gregset_t*
> #ifdef ELF_CORE_COPY_TASK_REGS
>
> return ELF_CORE_COPY_TASK_REGS(t, elfregs);
>+#else
>+ elf_core_copy_regs(elfregs, task_pt_regs(t));
> #endif
> return 0;
> }

Your email client eats tabs. :) Can you fix your email client
or resend it with a tool like git send-email?

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/