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

Re: [Xen-devel] [PATCH 5/8] evtchn: use a per-domain variable for the max number of event channels



>>> On 19.03.13 at 22:00, David Vrabel <david.vrabel@xxxxxxxxxx> wrote:
> @@ -1136,6 +1136,8 @@ void notify_via_xen_event_channel(struct domain *ld, 
> int lport)
>  
>  int evtchn_init(struct domain *d)
>  {
> +    d->max_evtchns = MAX_EVTCHNS(d);

With MAX_EVTCHNS() only being needed here now (and not
supposed to be used elsewhere), is there no way to restrict its
visibility to just this source file (i.e. move the definition out of
the header)?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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