summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarc Gauthier <marc@gums.hq.tensilica.com>2007-12-11 15:28:07 -0800
committerChris Zankel <chris@zankel.net>2008-02-13 17:22:49 -0800
commit3e92501a4e10e640786de10786c434834a0c1651 (patch)
tree4fd9f94fa2bba52379f28fa35ee957f8bc181649 /include
parentea0b6b066304d9f7e24b273c71fab5d67ce54f96 (diff)
downloadtalos-obmc-linux-3e92501a4e10e640786de10786c434834a0c1651.tar.gz
talos-obmc-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')
-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 *);
OpenPOWER on IntegriCloud