Jiang, Yunhong
2007-Nov-21 09:16 UTC
[Xen-devel] Why the cpu_2_logical_apicid is defined mismatch
The cpu_2_logical_apicid is defined in "arch/x86/smpboot.c" as : u8 cpu_2_logical_apicid[NR_CPUS] __read_mostly = { [0 ... NR_CPUS-1] BAD_APICID }; but in smpboot.h it is defined as: extern volatile int cpu_2_logical_apicid[]; Is it a bug? Thanks Yunhong Jiang _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Nov-21 09:33 UTC
Re: [Xen-devel] Why the cpu_2_logical_apicid is defined mismatch
Yes. I''ll fix it. Thanks, Keir On 21/11/07 09:16, "Jiang, Yunhong" <yunhong.jiang@intel.com> wrote:> The cpu_2_logical_apicid is defined in "arch/x86/smpboot.c" as : > u8 cpu_2_logical_apicid[NR_CPUS] __read_mostly = { [0 ... NR_CPUS-1] > BAD_APICID }; > > but in smpboot.h it is defined as: > extern volatile int cpu_2_logical_apicid[]; > > Is it a bug? > > Thanks > Yunhong Jiang > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel