Re: Problems with -git14
From: Ingo Molnar
Date: Wed Apr 30 2008 - 14:14:34 EST
* Hugh Dickins <hugh@xxxxxxxxxxx> 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
--
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/