Skip to content
Commit d5d3102b authored by Ralf Baechle's avatar Ralf Baechle
Browse files

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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 7ea4a689
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment