Port-xen archive

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

Re: [PATCH v3 1/7] x86/numa: Make use of NUMA_NO_NODE consistent



>>> On 09.02.15 at 21:04, <boris.ostrovsky%oracle.com@localhost> wrote:
> --- a/xen/include/asm-x86/numa.h
> +++ b/xen/include/asm-x86/numa.h
> @@ -21,7 +21,7 @@ struct node {
>  
>  extern int compute_hash_shift(struct node *nodes, int numnodes,
>  			      int *nodeids);
> -extern int pxm_to_node(int nid);
> +extern u8 pxm_to_node(int nid);

Perhaps introduce nodeid_t, so that once needed it can be widened?

Jan



Home | Main Index | Thread Index | Old Index