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-ia64-devel

RE: [Xen-ia64-devel] [PATCH] vmx_vioapic gcc-3.4 build fix

To: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, "Williamson, Alex (Linux Kernel Dev)" <alex.williamson@xxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH] vmx_vioapic gcc-3.4 build fix
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Thu, 17 Nov 2005 16:21:50 -0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 18 Nov 2005 00:22:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXr0qFFm3rixe2ZQGaH4FzwzXCeRQAALptwAABxCFA=
Thread-topic: [Xen-ia64-devel] [PATCH] vmx_vioapic gcc-3.4 build fix
I think this patch was previously submitted by Akio Takebe
and accepted by Keir into xen-unstable, but has not yet
been merged into xen-ia64-unstable. 

> -----Original Message-----
> From: Nakajima, Jun [mailto:jun.nakajima@xxxxxxxxx] 
> Sent: Thursday, November 17, 2005 5:12 PM
> To: Williamson, Alex (Linux Kernel Dev); Magenheimer, Dan (HP 
> Labs Fort Collins)
> Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-ia64-devel] [PATCH] vmx_vioapic gcc-3.4 build fix
> 
> Alex Williamson wrote:
> >    I need either one (not both) of the patch below to make current
> > xen-ia64-unstable.hg build w/ gcc-3.4.  Option 1 is 
> cleaner, but mucks
> > with code we're not otherwise touching for ia64.  Option 2 is the
> > compact but uglier fix.  Take your pick ;^)  Thanks,
> > 
> >     Alex
> 
> Option 1 looks good to me, and we want to fix it. Please send it to
> xen-devel@xxxxxxxxxxxxxxxxxxxx
> 
> > 
> > Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
> > ---
> > 
> > ##### Option 1
> > 
> > diff -r ec2ab25dacee xen/arch/x86/vmx_vlapic.c
> > --- a/xen/arch/x86/vmx_vlapic.c     Thu Nov 17 16:32:22 2005
> > +++ b/xen/arch/x86/vmx_vlapic.c     Thu Nov 17 16:51:08 2005
> > @@ -309,7 +309,6 @@
> >      vlapic_update_ppr(vlapic);
> > 
> >      if (test_and_clear_bit(vector, &vlapic->tmr[0])) {
> > -        extern void ioapic_update_EOI(struct domain *d, 
> int vector);
> >          ioapic_update_EOI(vlapic->domain, vector);
> >      }
> >  }
> > diff -r ec2ab25dacee xen/include/asm-x86/vmx_vioapic.h
> > --- a/xen/include/asm-x86/vmx_vioapic.h     Thu Nov 17 16:32:22 2005
> > +++ b/xen/include/asm-x86/vmx_vioapic.h     Thu Nov 17 16:51:08 2005
> > @@ -112,6 +112,7 @@
> >  void vmx_vioapic_set_irq(struct domain *d, int irq, int level);
> > 
> >  int vmx_vioapic_add_lapic(struct vlapic *vlapic, struct vcpu *v);
> > +void ioapic_update_EOI(struct domain *d, int vector);
> > 
> >  #ifdef VMX_DOMAIN_SAVE_RESTORE
> >  void ioapic_save(QEMUFile* f, void* opaque);
> > 
> > 
> > #### Option 2
> > 
> > diff -r ec2ab25dacee xen/arch/x86/dm/vmx_vioapic.c
> > --- a/xen/arch/x86/dm/vmx_vioapic.c Thu Nov 17 16:32:22 2005
> > +++ b/xen/arch/x86/dm/vmx_vioapic.c Thu Nov 17 16:34:00 2005
> > @@ -209,6 +209,10 @@
> >      } /* switch */
> >  }
> > 
> > +#ifdef __ia64__
> > +void ioapic_update_EOI(struct domain *d, int vector);
> > +#endif
> > +
> >  static void vmx_vioapic_write(struct vcpu *v,
> >                               unsigned long addr,
> >                               unsigned long length,
> > 
> > 
> > 
> > _______________________________________________
> > Xen-ia64-devel mailing list
> > Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-ia64-devel
> 
> 
> Jun
> ---
> Intel Open Source Technology Center
> 

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

<Prev in Thread] Current Thread [Next in Thread>