• Ralf Baechle's avatar
    MIPS: Fix elfcore.c build warning · d5d3102b
    Ralf Baechle authored
    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: default avatarRalf Baechle <ralf@linux-mips.org>
    d5d3102b
elf.h 10.6 KB