MIPS: Fix elfcore.c build warning
authorRalf Baechle <ralf@linux-mips.org>
Thu, 11 Mar 2010 07:48:14 +0000 (08:48 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 12 Apr 2010 16:26:11 +0000 (17:26 +0100)
commitd5d3102b9adec0a34eb5899324b62a4a3d34183e
tree355f868f4c149ac63fbc70445e56c3ba2bde2916
parent7ea4a6891b68fe60bf4eee41a7ef38d524b0aebd
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>
arch/mips/include/asm/elf.h