projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea0b6b0
)
[XTENSA] Add missing cast in elf.h ELF_CORE_COPY_REGS()
author
Marc Gauthier
<marc@gums.hq.tensilica.com>
Tue, 11 Dec 2007 23:28:07 +0000
(15:28 -0800)
committer
Chris Zankel
<chris@zankel.net>
Thu, 14 Feb 2008 01:22:49 +0000
(17:22 -0800)
Avoids compiler warning.
Signed-off-by: Marc Gauthier <marc@tensilica.com>
include/asm-xtensa/elf.h
patch
|
blob
|
history
diff --git
a/include/asm-xtensa/elf.h
b/include/asm-xtensa/elf.h
index 0444507b438d89d0483a9b3cc3574f347f714717..86479b86c02e3da7e665f436292dea3b7b5515d3 100644
(file)
--- 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 *);