|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 5/5] sched: Use the auto-generated list of schedulers
On 08/01/16 21:22, Jonathan Creekmore wrote:
> diff --git a/xen/common/schedule.c b/xen/common/schedule.c
> index 2f98a48..91e53c1 100644
> --- a/xen/common/schedule.c
> +++ b/xen/common/schedule.c
> @@ -64,20 +64,10 @@ static void poll_timer_fn(void *data);
> DEFINE_PER_CPU(struct schedule_data, schedule_data);
> DEFINE_PER_CPU(struct scheduler *, scheduler);
>
> -static const struct scheduler *schedulers[] = {
> -#ifdef CONFIG_SCHED_CREDIT
> - &sched_credit_def,
> -#endif
> -#ifdef CONFIG_SCHED_CREDIT2
> - &sched_credit2_def,
> -#endif
> -#ifdef CONFIG_SCHED_ARINC653
> - &sched_arinc653_def,
> -#endif
> -#ifdef CONFIG_SCHED_RTDS
> - &sched_rtds_def,
> -#endif
> -};
> +extern const struct scheduler *__start_schedulers_array[],
> *__end_schedulers_array[];
> +extern const size_t schedulers_array_size;
Is schedulers_array_size declared or used anywhere? I can't see any use.
~Andrew
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |