[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110124200448.GA22210@atj.dyndns.org>
Date: Mon, 24 Jan 2011 21:04:48 +0100
From: Tejun Heo <tj@...nel.org>
To: Yinghai Lu <yinghai@...nel.org>
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
tglx@...utronix.de, x86@...nel.org, eric.dumazet@...il.com,
brgerst@...il.com, gorcunov@...il.com, penberg@...nel.org,
shaohui.zheng@...el.com, rientjes@...gle.com
Subject: Re: [PATCH 04/16] x86: Replace cpu_2_logical_apicid[] with early
percpu variable
On Mon, Jan 24, 2011 at 11:58:24AM -0800, Yinghai Lu wrote:
> > DECLARE_EARLY_PER_CPU(u16, x86_cpu_to_apicid);
> > DECLARE_EARLY_PER_CPU(u16, x86_bios_cpu_apicid);
> > +#if defined(CONFIG_SMP) && defined(CONFIG_X86_32)
> > +DECLARE_EARLY_PER_CPU(int, x86_cpu_to_logical_apicid);
> > +#endif
>
> why changing it from u8 to int?
Because all other apic ids are int. The phys ones are shared with
64bit, so they can't be u8. I thought it would be more consistent
to have int for logicals too.
Thanks.
--
tejun
--
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