* Juri Lelli <juri.le...@gmail.com> wrote:

> +#ifdef CONFIG_SMP
> +             struct dl_bw *dl_b = &cpu_rq(i)->rd->dl_bw;
> +#else
> +             struct dl_bw *dl_b = &cpu_rq(i)->dl.dl_bw;
> +#endif

> +#ifdef CONFIG_SMP
> +             struct dl_bw *dl_b = &cpu_rq(i)->rd->dl_bw;
> +#else
> +             struct dl_bw *dl_b = &cpu_rq(i)->dl.dl_bw;
> +#endif

Btw., this kind of SMP/UP assymetry pattern really sucks. Why not make UP 
use the SMP data structure, even if it's degenerate?

Thanks,

        Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to