[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 1/3] x86/numa: Allow arbitrary value of PXM in PXM<->node mapping



>>> On 25.02.15 at 14:11, <boris.ostrovsky@xxxxxxxxxx> wrote:
> On 02/25/2015 04:34 AM, Jan Beulich wrote:
>>>>> On 24.02.15 at 20:11, <boris.ostrovsky@xxxxxxxxxx> wrote:
>>> +    { [0 ... MAX_NUMNODES - 1] = {.node = NUMA_NO_NODE} };
>>> +
>>> +static int node_to_pxm(int n);
>> I don't see why you need to reinstate this forward declaration.
> 
> It is used in acpi_numa_memory_affinity_init() which is defined above 
> node_to_pxm().
> 
> I can just move node_to_pxm() definition higher and drop forward 
> declaration.

Looks like I mixed this up with ...

>>>   int pxm_to_node(int pxm)

... this. Keep things as they are then please.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.