Commit 3e92501a authored by Marc Gauthier's avatar Marc Gauthier Committed by Chris Zankel

[XTENSA] Add missing cast in elf.h ELF_CORE_COPY_REGS()

Avoids compiler warning.
Signed-off-by: default avatarMarc Gauthier <marc@tensilica.com>
parent ea0b6b06
......@@ -96,7 +96,7 @@ typedef unsigned int elf_fpreg_t;
typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
#define ELF_CORE_COPY_REGS(_eregs, _pregs) \
xtensa_elf_core_copy_regs (&_eregs, _pregs);
xtensa_elf_core_copy_regs ((xtensa_gregset_t*)&(_eregs), _pregs);
extern void xtensa_elf_core_copy_regs (xtensa_gregset_t *, struct pt_regs *);
......
Markdown is supported
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