WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [PATCH]

Summary:  Allow compilation under gcc4

Current Xen does not compile.  Declaration shadows parameters.

Signed-off-by:  Maria Butrico <butrico@xxxxxxxxxxxxxx>


diff -r dbe9249ba61b xen/arch/powerpc/oftree.h
--- a/xen/arch/powerpc/oftree.h Sun Aug 20 13:28:45 2006 -0400
+++ b/xen/arch/powerpc/oftree.h Sun Aug 20 21:19:04 2006 -0400
@@ -25,7 +25,7 @@ extern ulong oftree_len;
 extern ulong oftree_len;
 
 extern int ofd_dom0_fixup(
-    struct domain *d, ulong oftree, start_info_t *si, ulong dst);
+    struct domain *d, ulong oftree1, start_info_t *si, ulong dst);
 
 extern int firmware_image_start[0];
 extern int firmware_image_size[0];
diff -r dbe9249ba61b xen/include/asm-powerpc/current.h
--- a/xen/include/asm-powerpc/current.h Sun Aug 20 13:28:45 2006 -0400
+++ b/xen/include/asm-powerpc/current.h Sun Aug 20 21:16:02 2006 -0400
@@ -66,7 +66,7 @@ static inline struct cpu_user_regs *gues
 
 static inline void reset_stack_and_jump(void (*f)(void))
 {
-    void _reset_stack_and_jump(void (*f)(void), struct cpu_user_regs *regs);
+    void _reset_stack_and_jump(void (*f1)(void), struct cpu_user_regs *regs);
     struct cpu_user_regs *regs = guest_cpu_user_regs();
 
 #ifdef TRACK_RESUME



_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [PATCH], Maria Butrico <=