>>> On 24.02.15 at 20:11, <boris.ostrov...@oracle.com> wrote: > --- a/xen/arch/x86/srat.c > +++ b/xen/arch/x86/srat.c > @@ -27,35 +27,79 @@ static nodemask_t memory_nodes_parsed __initdata; > static nodemask_t processor_nodes_parsed __initdata; > static nodemask_t nodes_found __initdata; > static struct node nodes[MAX_NUMNODES] __initdata; > -static u8 __read_mostly pxm2node[256] = { [0 ... 255] = NUMA_NO_NODE }; > > +struct pxm2node { > + unsigned pxm; > + int node; > +}; > +static struct pxm2node __read_mostly p2n[MAX_NUMNODES] = > + { [0 ... MAX_NUMNODES - 1] = {.node = NUMA_NO_NODE} };
Type and initializer don't match up. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel