[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] Compiling xen with gcc 4.2.1


  • To: Xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Tristan Gingold <tgingold@xxxxxxx>
  • Date: Thu, 4 Oct 2007 02:18:15 +0200
  • Delivery-date: Wed, 03 Oct 2007 17:12:49 -0700
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>

Hi,

I have made very minor changes (see below) so that Xen can be compiled by
gcc 4.2.1.  But it is *very* unstable.  Did anyone already try ?

Tristan.

diff -r c29269e32ea6 xen/arch/ia64/linux-xen/iosapic.c
--- a/xen/arch/ia64/linux-xen/iosapic.c Tue Oct 02 15:33:16 2007 +0200
+++ b/xen/arch/ia64/linux-xen/iosapic.c Thu Oct 04 02:00:54 2007 +0200
@@ -177,7 +177,7 @@ _gsi_to_vector (unsigned int gsi)
  * Translate GSI number to the corresponding IA-64 interrupt vector.  If no
  * entry exists, return -1.
  */
-inline int
+int
 gsi_to_vector (unsigned int gsi)
 {
        return _gsi_to_vector(gsi);
diff -r c29269e32ea6 xen/arch/ia64/xen/irq.c
--- a/xen/arch/ia64/xen/irq.c   Tue Oct 02 15:33:16 2007 +0200
+++ b/xen/arch/ia64/xen/irq.c   Thu Oct 04 01:59:40 2007 +0200
@@ -122,14 +122,6 @@ struct hw_interrupt_type no_irq_type = {
 };
 
 atomic_t irq_err_count;
-
-/* Some placeholder here, which are used by other files and we
- * don't want to change too much now. Later they should be cleaned.
- */
-#ifdef CONFIG_SMP
-inline void synchronize_irq(unsigned int irq) {}
-EXPORT_SYMBOL(synchronize_irq);
-#endif
 
 /*
  * Generic enable/disable code: this just calls


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.