Re: [PATCH 3/7] x86: make 32bit support per_cpu vector fix #1
From: Ingo Molnar
Date: Fri Aug 15 2008 - 04:22:33 EST
* Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:
> +#ifdef CONFIG_SMP
> + return cpu_online_map;
> +#else
> + return cpumask_of_cpu(0);
> +#endif
unrelated sidenote - shouldnt the scheduler define cpu_online_map to
cpumask_of_cpu(0) on UP, to avoid such ugly #ifdefs?
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/