mirror of https://gitee.com/openkylin/linux.git
[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