From: Mikael Pettersson Date: Thu, 11 Mar 2010 11:28:31 +0000 (+0100) Subject: ARM: 5987/1: fix warning in kernel/elfcore.c from ARM's elf.h X-Git-Tag: v2.6.34-rc2~14^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb35579b45bcb0b74167a2165d3ea973f640bf00;p=pandora-kernel.git ARM: 5987/1: fix warning in kernel/elfcore.c from ARM's elf.h 2.6.34-rc1 added kernel/elfcore.c which includes . On ARM, this results in: In file included from include/linux/elf.h:7, from kernel/elfcore.c:1: /tmp/linux-2.6.34-rc1/arch/arm/include/asm/elf.h:101: warning: 'struct task_struct' declared inside parameter list /tmp/linux-2.6.34-rc1/arch/arm/include/asm/elf.h:101: warning: its scope is only this definition or declaration, which is probably not what you want Including seems a bit heavyweight, so this patch just adds a tentative declaration of struct task_struct in . Signed-off-by: Mikael Pettersson Signed-off-by: Russell King --- Reading git-diff-tree failed