diff options
author | Marc Gauthier <marc@gums.hq.tensilica.com> | 2007-12-11 15:28:07 -0800 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2008-02-13 17:22:49 -0800 |
commit | 3e92501a4e10e640786de10786c434834a0c1651 (patch) | |
tree | 4fd9f94fa2bba52379f28fa35ee957f8bc181649 /include/asm-xtensa/elf.h | |
parent | ea0b6b066304d9f7e24b273c71fab5d67ce54f96 (diff) | |
download | linux-3e92501a4e10e640786de10786c434834a0c1651.tar.bz2 |
[XTENSA] Add missing cast in elf.h ELF_CORE_COPY_REGS()
Avoids compiler warning.
Signed-off-by: Marc Gauthier <marc@tensilica.com>
Diffstat (limited to 'include/asm-xtensa/elf.h')
-rw-r--r-- | include/asm-xtensa/elf.h | 2 |
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 *); |