mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
[XTENSA] Add missing cast in elf.h ELF_CORE_COPY_REGS()
Avoids compiler warning. Signed-off-by: Marc Gauthier <marc@tensilica.com>
This commit is contained in:
parent
ea0b6b0663
commit
3e92501a4e
@ -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 *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user