Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 *);