Messages in this thread | | | Date | Fri, 15 Aug 2008 10:21:47 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH 3/7] x86: make 32bit support per_cpu vector fix #1 |
| |
* Yinghai Lu <yhlu.kernel@gmail.com> 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
| |