> Yasunori Goto <[EMAIL PROTECTED]> wrote:
> >
> > +/* Proximity bitmap length */
> > +#ifdef CONFIG_NR_NODES_CHANGABLE
> > +#define MAX_PXM_DOMAINS CONFIG_NR_NODES
> > +#else
> > +#define MAX_PXM_DOMAINS (256)
> > +#endif
>
> I don't think we need CONFIG_NR_NODES_CHANGABLE (it is spelled
> "
Yasunori Goto <[EMAIL PROTECTED]> wrote:
>
> +/* Proximity bitmap length */
> +#ifdef CONFIG_NR_NODES_CHANGABLE
> +#define MAX_PXM_DOMAINS CONFIG_NR_NODES
> +#else
> +#define MAX_PXM_DOMAINS (256)
> +#endif
I don't think we need CONFIG_NR_NODES_CHANGABLE (it is spelled
"changeable", btw).
If
This is new generic code for pxm_to_node_map and CONFIG_NR_NODES.
Signed-off-by: Yasunori Goto <[EMAIL PROTECTED]>
drivers/acpi/numa.c | 48 +++
include/acpi/acpi_numa.h | 23 ++
include/linux/acpi.h |1
mm/Kconfig