summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/asm-xtensa/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-xtensa/elf.h b/include/asm-xtensa/elf.h
index 0444507b438d..86479b86c02e 100644
--- a/include/asm-xtensa/elf.h
+++ b/include/asm-xtensa/elf.h
@@ -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 *);