Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3e92501a4e10e640786de10786c434834a0c1651
Commit:     3e92501a4e10e640786de10786c434834a0c1651
Parent:     ea0b6b066304d9f7e24b273c71fab5d67ce54f96
Author:     Marc Gauthier <[EMAIL PROTECTED]>
AuthorDate: Tue Dec 11 15:28:07 2007 -0800
Committer:  Chris Zankel <[EMAIL PROTECTED]>
CommitDate: Wed Feb 13 17:22:49 2008 -0800

    [XTENSA] Add missing cast in elf.h ELF_CORE_COPY_REGS()
    
    Avoids compiler warning.
    
    Signed-off-by: Marc Gauthier <[EMAIL PROTECTED]>
---
 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 0444507..86479b8 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 *);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to