diff options
| author | Andrew Morton <akpm@linux-foundation.org> | 2010-04-27 17:09:12 -0400 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-01 06:33:00 -0400 |
| commit | ea5ce655b90f5debb7b9768284eaafcca218ddef (patch) | |
| tree | 577da50caed14ca763017e62a03e6c7289ff7ddf | |
| parent | d54690fec751aad3907b512e8eba0de11e250f87 (diff) | |
arch/arm/include/asm/elf.h: forward-declare the task-struct
iop32x_defconfig:
In file included from include/linux/elf.h:7,
from kernel/elfcore.c:1:
arch/arm/include/asm/elf.h:101: warning: "struct task_struct" declared inside parameter list
arch/arm/include/asm/elf.h:101: warning: its scope is only this definition or declaration, which is probably not what you want
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
| -rw-r--r-- | arch/arm/include/asm/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h index bff056489cc1..51662feb9f1d 100644 --- a/arch/arm/include/asm/elf.h +++ b/arch/arm/include/asm/elf.h | |||
| @@ -9,6 +9,8 @@ | |||
| 9 | #include <asm/ptrace.h> | 9 | #include <asm/ptrace.h> |
| 10 | #include <asm/user.h> | 10 | #include <asm/user.h> |
| 11 | 11 | ||
| 12 | struct task_struct; | ||
| 13 | |||
| 12 | typedef unsigned long elf_greg_t; | 14 | typedef unsigned long elf_greg_t; |
| 13 | typedef unsigned long elf_freg_t[3]; | 15 | typedef unsigned long elf_freg_t[3]; |
| 14 | 16 | ||
