On 09.08.2019 16:57, Juergen Gross wrote: > --- a/xen/include/xen/sched.h > +++ b/xen/include/xen/sched.h > @@ -273,11 +273,14 @@ struct vcpu > struct arch_vcpu arch; > }; > > +struct sched_resource;
As mentioned elsewhere, I don't think you need this when the first reference is ... > struct sched_unit { > struct domain *domain; > struct vcpu *vcpu_list; > void *priv; /* scheduler private data */ > struct sched_unit *next_in_list; > + struct sched_resource *res; ... like this. (Or else you couldn't use struct sched_unit here either, for still being an incomplete type at the point of the first reference to it.) Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel