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

[Xen-ia64-devel] [Patch] gcc3.4 build patch



Hi,

I tried to build xen-ia64-unstable.hg, but I couldn't complie it.
So, I made a gcc3.4 build patch again.

This patch look like for x86, but it is for ia64 as below.
# ls -l xen/arch/ia64/vmx/vmx_vioapic.c  
lrwxrwxrwx  1 root root 34 11月 14 22:33 xen/arch/ia64/vmx/vmx_vioapic.c 
-> ../../../arch/x86/dm/vmx_vioapic.c

Signed-off-by Akio Takabe <takebe_akio@xxxxxxxxxxxxxx>

Best Regards,

Akio Takebe

---------------------
diff -r bd234c9603ce xen/arch/x86/dm/vmx_vioapic.c
--- a/xen/arch/x86/dm/vmx_vioapic.c     Fri Nov 11 19:23:04 2005
+++ b/xen/arch/x86/dm/vmx_vioapic.c     Mon Nov 14 22:52:35 2005
@@ -209,6 +209,23 @@
     } /* switch */
 }
 
+void ioapic_update_EOI(struct domain *d, int vector)
+{
+    vmx_vioapic_t *s = &(d->arch.vmx_platform.vmx_vioapic);
+    int redir_num;
+
+    if ((redir_num = get_redir_num(s, vector)) == -1) {
+        printk("Can't find redir item for %d EOI \n", vector);
+        return;
+    }
+
+    if (!test_and_clear_bit(redir_num, &s->isr)) {
+        printk("redir %d not set for %d  EOI\n", redir_num, vector);
+        return;
+    }
+}
+
+
 static void vmx_vioapic_write(struct vcpu *v,
                              unsigned long addr,
                              unsigned long length,
@@ -557,22 +574,6 @@
     return -1;
 }
 
-void ioapic_update_EOI(struct domain *d, int vector)
-{
-    vmx_vioapic_t *s = &(d->arch.vmx_platform.vmx_vioapic);
-    int redir_num;
-
-    if ((redir_num = get_redir_num(s, vector)) == -1) {
-        printk("Can't find redir item for %d EOI \n", vector);
-        return;
-    }
-
-    if (!test_and_clear_bit(redir_num, &s->isr)) {
-        printk("redir %d not set for %d  EOI\n", redir_num, vector);
-        return;
-    }
-}
-
 int vmx_vioapic_add_lapic(struct vlapic *vlapic, struct vcpu *v)
 {
     vmx_vioapic_t *s = &(v->domain->arch.vmx_platform.vmx_vioapic);

_______________________________________________
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®.