* Juri Lelli <[email protected]> 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/