On Wed, Nov 09, 2022 at 07:06:43AM +0100, Stefan Sperling wrote:
> On Wed, Nov 09, 2022 at 06:58:32AM +0100, Anton Lindqvist wrote:
> > GENERIC is broken:
> > 
> >     vmm.c:900:3: error: implicit declaration of function 'x86_send_ipi' is 
> > invalid in C99 [-Werror,-Wimplicit-function-declaration]
> 
> ok stsp@

I have committed this to unbreak the tree.
Seems like everyone else is absent right now.

> > Index: vmm.c
> > ===================================================================
> > RCS file: /cvs/src/sys/arch/amd64/amd64/vmm.c,v
> > retrieving revision 1.329
> > diff -u -p -r1.329 vmm.c
> > --- vmm.c   8 Nov 2022 19:38:34 -0000       1.329
> > +++ vmm.c   9 Nov 2022 05:57:26 -0000
> > @@ -877,7 +877,9 @@ vm_intr_pending(struct vm_intr_params *v
> >  {
> >     struct vm *vm;
> >     struct vcpu *vcpu;
> > +#ifdef MULTIPROCESSOR
> >     struct cpu_info *ci;
> > +#endif
> >     int error, ret = 0;
> >  
> >     /* Find the desired VM */
> > @@ -894,10 +896,12 @@ vm_intr_pending(struct vm_intr_params *v
> >             goto out;
> >     }
> >  
> > +#ifdef MULTIPROCESSOR
> >     vcpu->vc_intr = vip->vip_intr;
> >     ci = READ_ONCE(vcpu->vc_curcpu);
> >     if (ci != NULL)
> >             x86_send_ipi(ci, X86_IPI_NOP);
> > +#endif
> >  
> >     refcnt_rele_wake(&vcpu->vc_refcnt);
> >  out:
> > 
> > 
> 
> 

Reply via email to