diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-26 11:02:31 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-26 11:29:06 +0100 |
commit | 392c57a2ec811db37ae45adc513704cf92ba3e69 (patch) | |
tree | f86922a022637f9b53c335fbfa6edcedd828f5ff | |
parent | cb86ae95a0168be2acc6c48b1671ffaba1e5e39e (diff) | |
download | talos-op-linux-392c57a2ec811db37ae45adc513704cf92ba3e69.tar.gz talos-op-linux-392c57a2ec811db37ae45adc513704cf92ba3e69.zip |
ARM: fix build warning in asm/elf.h
CC kernel/elfcore.o
In file included from include/linux/elf.h:7,
from kernel/elfcore.c:1:
arch/arm/include/asm/elf.h:124: warning: 'struct mm_struct' declared inside parameter list
arch/arm/include/asm/elf.h:124: warning: its scope is only this definition or declaration, which is probably not what you want
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/include/asm/elf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h index 0a96e8c1b82a..6750b8e45a49 100644 --- a/arch/arm/include/asm/elf.h +++ b/arch/arm/include/asm/elf.h @@ -121,6 +121,7 @@ int dump_task_regs(struct task_struct *t, elf_gregset_t *elfregs); extern void elf_set_personality(const struct elf32_hdr *); #define SET_PERSONALITY(ex) elf_set_personality(&(ex)) +struct mm_struct; extern unsigned long arch_randomize_brk(struct mm_struct *mm); #define arch_randomize_brk arch_randomize_brk |