Messages in this thread | | | Date | Wed, 30 Apr 2008 20:13:32 +0200 | From | Ingo Molnar <> | Subject | Re: Problems with -git14 |
| |
* Hugh Dickins <hugh@veritas.com> wrote:
> static inline int cpu_present_to_apicid(int mps_cpu) > { > -#ifdef CONFIG_X86_64 > - if (cpu_present(mps_cpu)) > + if (mps_cpu < NR_CPUS && cpu_present(mps_cpu)) > return (int)per_cpu(x86_bios_cpu_apicid, mps_cpu); > -#else > - if (mps_cpu < get_physical_broadcast()) > - return mps_cpu; > -#endif > else > return BAD_APICID; > }
applied. Thanks Hugh for the detective work! I love fixes that only remove code ;-)
Ingo
| |