[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-ia64-devel
Subject:    [Xen-ia64-devel] More RHEL4/gcc-3.4.x build fixes
From:       Arun Sharma <arun.sharma () intel ! com>
Date:       2005-08-03 0:35:26
Message-ID: 42F0114E.8060807 () intel ! com
[Download RAW message or body]


The issue is that <linux/efi.h> uses sprintf without a prototype. There 
may be better solutions possible, but might require changes in upstream 
linux-ia64.

	-Arun

--- a/xen/arch/ia64/linux-xen/efi.c     Wed Aug  3 00:25:11 2005
+++ b/xen/arch/ia64/linux-xen/efi.c     Tue Aug  2 17:31:01 2005
@@ -18,6 +18,9 @@
   * Goutham Rao: <goutham.rao@intel.com>
   *     Skip non-WB memory and ignore empty memory ranges.
   */
+#ifdef XEN
+#include <xen/lib.h>
+#endif
  #include <linux/config.h>
  #include <linux/module.h>
  #include <linux/kernel.h>
diff -r f242de2e5a3c xen/arch/ia64/linux-xen/mm_contig.c
--- a/xen/arch/ia64/linux-xen/mm_contig.c       Wed Aug  3 00:25:11 2005
+++ b/xen/arch/ia64/linux-xen/mm_contig.c       Tue Aug  2 17:31:01 2005
@@ -14,6 +14,9 @@
   * Routines used by ia64 machines with contiguous (or virtually 
contiguous)
   * memory.
   */
+#ifdef XEN
+#include <xen/lib.h>
+#endif
  #include <linux/config.h>
  #include <linux/bootmem.h>
  #include <linux/efi.h>

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic