aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa
diff options
context:
space:
mode:
authorMarc Gauthier <marc@gums.hq.tensilica.com>2007-12-11 18:28:07 -0500
committerChris Zankel <chris@zankel.net>2008-02-13 20:22:49 -0500
commit3e92501a4e10e640786de10786c434834a0c1651 (patch)
tree4fd9f94fa2bba52379f28fa35ee957f8bc181649 /include/asm-xtensa
parentea0b6b066304d9f7e24b273c71fab5d67ce54f96 (diff)
[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;
96typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; 96typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
97 97
98#define ELF_CORE_COPY_REGS(_eregs, _pregs) \ 98#define ELF_CORE_COPY_REGS(_eregs, _pregs) \
99 xtensa_elf_core_copy_regs (&_eregs, _pregs); 99 xtensa_elf_core_copy_regs ((xtensa_gregset_t*)&(_eregs), _pregs);
100 100
101extern void xtensa_elf_core_copy_regs (xtensa_gregset_t *, struct pt_regs *); 101extern void xtensa_elf_core_copy_regs (xtensa_gregset_t *, struct pt_regs *);
102 102