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

Re: [Xen-devel] [PATCH 08/12] xen/events: add struct evtchn_ops for the low-level port operations



>>> On 19.03.13 at 22:04, David Vrabel <david.vrabel@xxxxxxxxxx> wrote:
> --- a/drivers/xen/events/events.c
> +++ b/drivers/xen/events/events.c
> @@ -58,6 +58,8 @@
>  
>  #include "events_internal.h"
>  
> +struct evtchn_ops evtchn_ops;

Either make this a pointer (to const struct evtchn_ops), ...

> +struct evtchn_ops evtchn_ops_nlevel = {
> +     .bind_to_cpu       = nlevel_bind_to_cpu,
> +     .clear_pending     = nlevel_clear_pending,
> +     .set_pending       = nlevel_set_pending,
> +     .is_pending        = nlevel_is_pending,
> +     .test_and_set_mask = nlevel_test_and_set_mask,
> +     .mask              = nlevel_mask,
> +     .unmask            = nlevel_unmask,
> +     .handle_events     = nlevel_handle_events,
> +};

... or make this __initdata.

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