summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa
diff options
context:
space:
mode:
authorMarc Gauthier <marc@gums.hq.tensilica.com>2007-12-12 00:28:07 +0100
committerChris Zankel <chris@zankel.net>2008-02-14 02:22:49 +0100
commit3e92501a4e10e640786de10786c434834a0c1651 (patch)
tree4fd9f94fa2bba52379f28fa35ee957f8bc181649 /include/asm-xtensa
parent[XTENSA] Fix comments regarding the number of frames to save (diff)
downloadlinux-3e92501a4e10e640786de10786c434834a0c1651.tar.xz
linux-3e92501a4e10e640786de10786c434834a0c1651.zip
[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')
-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 *);