diff options
author | Mikael Pettersson <mikpe@it.uu.se> | 2010-03-11 12:28:31 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-13 11:48:22 +0100 |
commit | bb35579b45bcb0b74167a2165d3ea973f640bf00 (patch) | |
tree | b666e3dce92234955318dac8b9bc2139e1363604 /arch/arm/mach-versatile | |
parent | ARM: 5986/1: at91sam9g20-ek: Correct braces in I2C registration code (diff) | |
download | linux-bb35579b45bcb0b74167a2165d3ea973f640bf00.tar.xz linux-bb35579b45bcb0b74167a2165d3ea973f640bf00.zip |
ARM: 5987/1: fix warning in kernel/elfcore.c from ARM's elf.h
2.6.34-rc1 added kernel/elfcore.c which includes <asm/elf.h>.
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 <linux/sched.h> seems a bit heavyweight, so this patch just
adds a tentative declaration of struct task_struct in <asm/elf.h>.
Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-versatile')
0 files changed, 0 insertions, 0 deletions