[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080430181332.GC31726@elte.hu>
Date: Wed, 30 Apr 2008 20:13:32 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Hugh Dickins <hugh@...itas.com>
Cc: J.A. Magallón <jamagallon@....com>,
Glauber Costa <gcosta@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: Problems with -git14
* Hugh Dickins <hugh@...itas.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists