Searched hist:d5d3102b (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/mips/include/asm/ |
H A D | elf.h | d5d3102b Thu Mar 11 01:48:14 CST 2010 Ralf Baechle <ralf@linux-mips.org> MIPS: Fix elfcore.c build warning
kernel/elfcore.c includes <linux/elf.h> which includes the <asm/elf.h>. In <asm/elf.h>, struct pt_regs is declared inside the parameter list of the elf_dump_regs function which causes a kernel build warning.
Fixed by adding a forward declaration of struct pt_regs.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> d5d3102b Thu Mar 11 01:48:14 CST 2010 Ralf Baechle <ralf@linux-mips.org> MIPS: Fix elfcore.c build warning kernel/elfcore.c includes <linux/elf.h> which includes the <asm/elf.h>. In <asm/elf.h>, struct pt_regs is declared inside the parameter list of the elf_dump_regs function which causes a kernel build warning. Fixed by adding a forward declaration of struct pt_regs. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|